Networked Battleship

Our team, consisting of Ryan Quinn (B), Kitti Tiamsuwan (B), and Nathan Daniel (A), created a battleship game that allows two players to play against each other from anywhere in the World. We made use of a central server to do this, with one player acting as the 'host', and the other as the 'client'.

First, the host creates a game with an ID of their choosing, and places their ships. Then, the client inputs this game ID and places their own ships. From here, each player takes turns firing until one player has no more in tact ships.

You need an Ethernet Adapter, LCD Screen, and Joystick.

The server code is available here https://github.com/ApolloFortyNine/battleship , and is written in Python3, using Flask and Redis.

The player code is available here https://developer.mbed.org/users/ndaniel7/code/Ethernet_Battleship/

/media/uploads/rquinn7/img_20151208_002252.jpg

Joystickmbed
VccVout
Vertp17
Horzp19
GndGnd
LCDmbed
VCC5v
GndGnd
RXp28
TXp27
Resetp29
EthernetMbed
P1TD+
P2TD-
P8RD-
P7RD+


Please log in to post comments.