pablok / asciisoccer Goto Github PK
View Code? Open in Web Editor NEWA Soccer game for the web browser
A Soccer game for the web browser
end game needs to be intercepted by the proxy so the socket can be closed.
Improve the gras grafics so that the field has lines like a real field has in hte grass.
Make sure that the ports are avilable and start a game.
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.
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.
Some kind of simple mechanism for sharing database models needs to be worked out. Perhaps a softlink and the extraction of models to a separate project would work.
It would be preferable if the server was only command line. No user interface simpli command line arguments.
Currently goals are not shown in the client this should be fixed.
A league has:
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.
Review code and make it better.
This could be fixed by replacing spaces with some other character and re-replacing in the client.
Move to normal ada sockets to remove all dependencies to TJa.
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.
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.
Convert variablenames and strings to english
Password needs to be resetable.
Change how it is displayed.
We need square poles to mark the goal.
This could perhaps be built using cron, ajax, a small webserver, htop and a parser. Perhaps this tool could also kill zombies.
There are no pages or forms for creating user settings. This is needed. For starters for color and team name.
User registration and login is needed.
Users need the following properties
Optional settings are
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.
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.
There are alot of tools and test stored in the project folder these should be removed to get a clean repository.
There is a missmatch in expected and sent data between client and server.
Reopening
Create midi music for the game to be played during the game.
Currently multiple requests are done for js and it would be nice to have require in coffee script.
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.
Averge wait time and time waited should be displayed on the game board.
There is a problem in capturing certain keys in cygwin using TJa-lib it could perhaps be replaced? Or we could fix the issue.
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.
Friend search is needed. Search by email! Add friend button is also needed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.