A repository of games for the Ajuna Worker environment
ajuna-games's Introduction
ajuna-games's People
ajuna-games's Issues
bombs are not privat
the 3 player bombs shouldn't be exposed to the opponent.
Since there is only one TrustedGetter to get the Board, we need to make sure that it only includes the player bombs.
With player-specific bomb storage that would have been solved, but since we only have GetBoard it seems a little bit more complicated.
Strange situation achieved.
wrong winning conditions?
Add Scoring
To have a game score at the end I suggest adding a score that accounts for points the following way.
1 point for each stone played
1 point for every enemy stone destroyed
at the moment the score is not determining the winner, but once we will add the correct rules it will.
add blocknumber or index to gamestate
the client can currently update the board bombs decreased (in bomb phase) or on player change (in play phase)
to avoid this I would suggest we add an index to the game state, best would be the block number, which would also allow timing later.
I suggest adding blocknumber to gamestate updated on each storage change,
dot4gravity: after phase changed, not able to drop stone
panick, when dropping a stone at a locked position.
Trying to drop a stone here at West 7, where there is already a stone, will panic.
worker_1 | thread '<unnamed>' panicked at 'index out of bounds: the len is 10 but the index is 255', /root/.cargo/git/checkouts/ajuna-games-9c75f15c32f67658/159ae6d/dot4gravity/src/lib.rs:151:9
worker_1 | note: Call backtrace::enable_backtrace with 'PrintFormat::Short/Full' for a backtrace.
worker_1 | fatal runtime error: failed to initiate panic, error 5
Add last move
for the client it is important to know where the last move has been done (Side, number), so an animation can be done from the dropping side.
I request to add to GameState
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.