Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Raspberry Pi Gaming - Second Edition

You're reading from   Raspberry Pi Gaming - Second Edition Design, create, and play all kinds of video games on your Raspberry Pi computer

Arrow left icon
Product type Paperback
Published in Feb 2015
Publisher
ISBN-13 9781784399337
Length 140 pages
Edition 2nd Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Shea Silverman Shea Silverman
Author Profile Icon Shea Silverman
Shea Silverman
Arrow right icon
View More author details
Toc

Njam


Njam is also a free open source game based on classic maze games like Pac-Man. The goal of the game is to eat all the dots while avoiding the obstacles. If you eat one of the power-ups, you gain invincibility for a short period of time. Njam includes an array of levels, level editors, and multiplayer capabilities.

Installing and running

Njam is available in the Raspbian software repositories, and can be played on the terminal or desktop environment using the following steps:

  1. At the command line, type sudo apt-get install -y njam.

  2. To run the game, type njam and press Enter. The game should now fill your entire screen.

  3. Njam offers a single-player game, two-player cooperative mode, two-player duel mode, and a 4-player network game. To play a local game, just select One player game or Two player game. You will then select a map and start playing.

  4. Playing a network game is easy as well. If you are hosting the game, just select Host network duel. The other players will need to select Join network...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime