keggsmurph21 / catonline Goto Github PK
View Code? Open in Web Editor NEWcontainerized server for hosting a Catan web app & user database
Home Page: http://catonline.murp.us
License: GNU General Public License v3.0
containerized server for hosting a Catan web app & user database
Home Page: http://catonline.murp.us
License: GNU General Public License v3.0
http(s)
http(s)
or socket.io
connections (both?)Hi! Always nice to see someone else making a cool implementation :). What about https://github.com/generateui/jsettlers-web (by me). Could we join forces and make something nice?
see this issue
on /play
pages, username should be colored based on "in-game" color rather than the string->hex hash color
keepalive_timeout = 200
nginx
for
GET
/POST
as well as socket.io
connections
admin functionality is broken for most "commands"
current behavior: if i can trade with the bank at a 4-to-1 rate and i offer 5-to-1, the game engine will accept the 5-to-1 trade
desired behavior: reject these "suboptimal trades" with the same message as if i had offered 3-to-1
maybe display a list of currently online players
refreshing the screen adds one to the "currently online" list
currently using something like
let obj = {};
obj[key] = value;
but can actually just do (as of ECMA2015 i think)
let obj = { [key] : value };
when control shifts to the user or new message, flash the window.title
(see this StackOverflow issue )
have run into issue on the "second turn" a couple times ... seems like it follows this pattern
game.state.currentPlayerID = -3
or something like that, can only be fixed by editing the DB directlyA 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.