GithubHelp home page GithubHelp logo

asciisoccer's Issues

Server needs correct exit codes

We need to add exitcodes if we want to implement the server as web service. So that it can be wrapped in a goodway. Thus all problems that can occour needs a defined exit code.

Add a webbservice in ruby to start a game server on heroku

The server is actualy cross-platform so it should be runnable on linux. A simple sinatra service should be abel to spawn a new game server. A web interface could be developed with score and more if the server could report these things to the ruby wrapper upon exit.

This is a future plan that is going to need some work beging with other issues.

Highscores!

Game info has to convert inte to score objects in the database after the game has finnished.
Game info thus has to contain user ids and scores. This should be reported by the server on game end.

This might be a separate process that is triggerd upon games beeing finnsihed.

Top 10 scores should be displayed on the main page. Make sure that selection in db of scores is quick.

Better keyboard interface

Key codes could be captured and this would allow arrow keys to be used in a better way so that numpad keys are no longer necessary.

Create Login/Registration pages

User registration and login is needed.

Users need the following properties

  • email
  • password

Optional settings are

  • color
  • character
  • teamname

Make a web client

Use Html5 and Websockets to rewrite the client code. This is probably the simplest solution to get it to work any where.
We can remove almost all dependancys to TJa this way. Perhaps we should do this instead of re creating the client.

Start splash screen

Splash screen for the game start is needed.

The screen should show that we are waiting for players. Preferably how many we still need.
Preferably the average time until some one will join.

User settings pages

There are no pages or forms for creating user settings. This is needed. For starters for color and team name.

Create start game buttons

Games can be started for 2,4 or 8 players
Play 1v1, Play 2v2, Play 4v4 >> random, private
for private games friends can be invited if online.

Grass grafics

Improve the gras grafics so that the field has lines like a real field has in hte grass.

A button to turn on/off music that affects user settings

A button is needed to turn sound on and off. This button should affect user settings and should be loaded trough the gameConfig settings into the game. It should be settable in game as well as under user settings. The in game setter will have to use Ajax to update the user setting.

Leagues objects are needed

A league has:

  • start date
  • end date
  • name (randomly generated perhaps something fun with soccer?)
  • first (aka winner)
  • second
  • third
  • has_ended
  • score_firs
  • score_second
  • score_third
    ...

The league name and the current days left should be visible on the status board ( the purple thingie next to random button).

A rake task to end a league and create a new league needs to be implemented. This task can later be put in a cronjob so that new leagues can be generated on schedual. The rake task shall identify the winner, second, and third places their scores add them to the league as well as setting the has_ended to true.

A league summary pages should be created showing the last 10 leagues. When clicking a league it should expand and show the winners and their scores.

A league description should be created as an article on the index page linking to the league summary.

Key code problem in TJa-lib

There is a problem in capturing certain keys in cygwin using TJa-lib it could perhaps be replaced? Or we could fix the issue.

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.