The goal of this project is to recreate the board game battleship on the stm32 board. We got our insight from the GO game in the previous years' projects for using 8x8 dot LED displays for the `board' of the game and using Wii nunchuks to control the pieces.
Two Computer Engineering Students new to the world of STM32
Coder & Designer
I.
Love.
ECE153B.
No, Seriously.
Coder & Designer
[TODO]
This is how we connected the peripherals and STM32 togther
Connected with I2C using port B pin 8 and 9
Connected with I2C using port B pin 10 and 11
Connected with SPI using port A pin 4 to 7
Connected with SPI using port B pin 12 to 15
Are we still gonna use it?
finish project proposal
Start preparing and planning out our code structure
Peripheral setup
successfully connected SPI with one of the 8x8 LED Display
successfully connected I2C with one of the Wii Nunchuk
Look at this adorable cat ^._.^
Peripheral setup & Game Logic Design
connected SPI with another 8x8 LED Display
connected I2C with another Wii Nunchuk
implemented logic for placing battleships and manipulating the board during a player's turn
Game Logic Design
Coded the game logic for placing 4 ships
Coded the state machine for user to take turns hitting
Coded the state behavior for each state in the gaming state
Finalize Game Design
Cleaned up termite outputs
Updated the hitting behavior
Designed the winning and losing screen