Skip to content

RagingPolo/proxitable

Repository files navigation

proxitable

The terminal output modules for both Citiedal and Battleships require the Colorama python module to be installed, https://pypi.python.org/pypi/colorama


Citadel Rules:

The object of the game is to reach the opposing players side of the board while defending you side. The board is made up of severn positions and the starting position is in the middle.

  • Both players start with 50 points.
  • A turn consists of each player spending at least one and up to their remaining points total.
  • The player that spent the most points moves one place towards their opponents side, if it is a draw then there is no movement.
  • If a player reaches the opposing side of the board they win the game.
  • If a player runs out of points and the opposing player has enough remaining points to reach the oppsosing side, at one point per move, the opposing player wins
  • Else it is a draw

Battleship Rules:

The object of the game is to sink the opponents fleet before they sink yours. This version supports multiple board sizes:

6x6 3 Ships
7x7 3 Ships
8x8 4 Ships
9x9 4 Ships
10x10 5 Ships

TicTacToe Rules:


Startup

  • Connect hardware (PES, arduino, RasberryPi, TV/Monitor)
  • Open wsserver/client.html in browser
  • Start wsserver/wsserver.py
  • Click connect button in browser
  • Start launch.py
  • Play games

System logs are found in .proxitable.log and .wsserver.log

System Architecture

#--------------#     #-------#---------------#--------#     #-------------------#
|              |     |       |               |        |     |                   |
| PES HARDWARE | --> | INMOD | GAME LAUNCHER | OUTMOD | --> | WEB SOCKET SERVER |
|              |     |       |               |        |     |                   |
#--------------#     #-------#---------------#--------#     #-------------------#                                                                         ^                                |
                                     |                                |
                             -----------------                        v
                             |               |                 #-------------#
                             v               ^                 |             |
                         #-------#------#--------#             | WEB BROWSER |
                         |       |      |        |-#           |             |
                         | INMOD | GAME | OUTMOD | |-#         #-------------#
                         |       |      |        | | |
                         #-------#------#--------# | |
                           #-------#------#--------# |
                             #-------#------#--------#

About

Proximity Table code.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published