Inspiration

In one of our programming classes we had to develop a text based game using keyboard inputs and we thought it would be more engaging to use a joystick which is why we chose to use qnx and the raspberry pi.

What it does

Joystickhem is a text-based adventure game where players navigate through different choices using a joystick. Moving the joystick left or right selects different actions in the game, allowing for users to interact with the game.

How we built it

  1. After acquiring the QNX license, installing the QNX software center and installing all packages.
  2. Raspberry PI has its SSID and password of the hotspot configured so that it can connect to a remote computer.
  3. The joystick connects to the c file to print out responses for a text based game through the GPIO pins and SSH on the software on VS Code.

Challenges we ran into

Mapping joystick inputs to move in the game which sadly didn't end up working but we managed to get the button presses to work.

Accomplishments that we're proud of

Attempting the project whilst also working on our main project and not being experienced with a raspberry pi.

What we learned

How to set up the general framework of qnx and basic inputs to the raspberry pi.

What's next for Joystickhem (Raspberry PI 4b + QNX)

The next step is to try to accurately map the joystick and be able to move around in our game.

Built With

Share this project:

Updates