Skip to content

LaFortuna Battleships COMP2215

License

Notifications You must be signed in to change notification settings

stefanwiecek/LaBattleships

Repository files navigation

LaBattleships

LaBattleships is a 2 player battleships style game that is played on 2 LaFortuna devices

Install

To play LaBattleships you will need 2 LaFortunas.

Inside laBattleships.h you wil find:

#define PLAYER 0

Make sure you set one device to PLAYER 0 and the second to PLAYER 1.

You can compile and flash the firmware then by running make

If you are on linux you may have to use sudo.

Wiring

The devices need to communicate and they do so via USART. To connect them you will need to connect the following pins as written on the back of the device:

Device 1 Device 2
RXD1 TXD1
TXD1 RXD1
XCK1 XCK1

Contributors

Credits

  • Peter Dannegger’s - Rotary encoder and switch debouncing
  • Steve Gunn’s - Display driver

About

LaFortuna Battleships COMP2215

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published