Skip to content

Web implementation of Sid Sackon's Acquire board game

Notifications You must be signed in to change notification settings

nwself/ack-wire

Repository files navigation

Getting Started

  1. Probably get yourself in a virtualenv, virtualenvwrapper is cool.

  2. pip install -r requirements.txt (You can get away with not installing psycopg2 or django-heroku, both of which are dependencies for Heroku deployment, could refactor these into a different file)

  3. ./manage.py migrate

  4. Get redis running, install if needed.

  5. ./manage.py runserver

  6. Go to localhost:8000 in your browser.

First time only

Make yourself a superuser with ./manage.py createsuperuser then you can go to localhost:8000/admin and see all the cool Django admin stuff.

TODOs

  • Major update of create game page
    • Enforce that user creating game is in game
    • Select2 or something reasonable for finding users to add to game
    • Add optional config (stock names, price schedule, board size)
  • Sort lobby into active and completed games
  • Fix declare chain buttons for mobile
    • Possibly change all buttons to some reasonable style & size, esp. stock buying +/-
  • Warn if buying less than 3 stocks and player still has money

Start game in shell

Create a game in the shell with:

from game.views import start_game
from game.models import Game
g = Game.objects.create(name='game-name')
g.users.add(u1)
g.users.add(u2)
g.save()
start_game(game, other_options)

About

Web implementation of Sid Sackon's Acquire board game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •