Coder Social home page Coder Social logo

grimpunch / cardsagainstonline Goto Github PK

View Code? Open in Web Editor NEW
11.0 11.0 1.0 524 KB

Python based flask based SSE implementation of multiplayer cards against humanity for online and offline users

License: MIT License

Python 35.19% JavaScript 48.45% HTML 5.33% CSS 11.03%

cardsagainstonline's People

Contributors

grimpunch avatar sonofflynn avatar thepianodentist avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

thepianodentist

cardsagainstonline's Issues

Finish the game logic

In-case someone who comes along who is good with design/front end stuff; rather than putting lots of effort to do a mediocre design job that will be scrapped, I am just bare-bonesing/placeholdering the game itself whilst hopefully getting backend stuff done and playable.

Also actually having the game done, and just need to improve it/tweak it seems less overwhelming and more fun to work on, than refactoring the code of something unplayable.

Create UI for judging cards as the card czar

Currently there is the basis of showing the player's hand, but not a way to submit cards to be judged...
So this will possibly be dependent on that.

The players connected the game server, if they are the czar, need to only see the black card in question during the phase where cards are submitted, and then when judging starts, shown in the submitted cards in a page that allows sequences of cards from all players to be shown, and tapping to select the winning submission, which is fed back to the server.

After that display who's submission it was, (it will also be displayed on the main screen gui too)

Make a template for the main presentation screen.

The main screen will say who the current card czar is , and show the black card that has been drawn for the round.

This will also need to show a timer for the remaining time for the current selection of white cards, and a timer for the judging after that.

Lastly, a scoreboard would be nice , showing the names of connected players.

Make a template for the page players should see when joining a local server

Local network players will need to enter their name, and then join the game they are playing.
The server will display a unique room code for them in case other CAO servers are on the same network
so leave a space for this code to be entered.

This data will be sent to the server via websockets to tornado.
Then the player will be registered with the current game and dropped into the game screen.

Create an interface for creating decks

We need to make a way of creating decks and writing them out to json. Then also we need to be able to load from that and populate the editor

So look at cards.json to see the specification of the card json,

This is the file that should be read and written to for creating decks to play with.
Following that format, and saving the id's incrementally would be the best approach for saving.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.