About
Resources
Blog
Docs
Source
Status
Social
Discord
IRC
Bluesky
X/Twitter
Contact
team@tangled.org
security@tangled.org
Legal
Terms of Service
Privacy Policy
Sign in
Join now
binmat
samual.uk
/
Star
Starred
Star
0
Something went wrong. Try again.
Fork
0
Eye filled
Watch
Watching
Watch
[READ-ONLY] Mirror of
https://github.com/samualtnorman/binmat
. binmat simulator for game hackmud
binmat
hackmud
javascript
nodejs
+4 more
binmat
hackmud
javascript
nodejs
Star
Starred
Star
0
Something went wrong. Try again.
Fork
0
Eye filled
Watch
Watching
Watch
Overview
Overview
Issues
Issues
Pulls
Pulls
Pipelines
Pipelines
Version history of
src/
simulateGame.ts
August 2023
allow the initial state of `defenderBinlog` and `attackerBinlog` to be set this lets consumers recontinue a previously simulated game if they recorded `state` and `binlog` provided to `onMove()` now all this needs is a way to stop and start games or maybe a function for simulating individual turns
samual.uk
·
3y ago
4ce7af8e
Copied
Failed
Copy SHA
samual.uk
4ce7af8e
Copied
Failed
Copy SHA
allow the initial state of `defenderBinlog` and `attackerBinlog` to be set this lets consumers recontinue a previously simulated game if they recorded `state` and `binlog` provided to `onMove()` now all this needs is a way to stop and start games or maybe a function for simulating individual turns
3y ago
simplify `lastBinlog` and `lastLastBinlog` to `defenderBinlog` and `attackerBinlog`
samual.uk
·
3y ago
e1700e68
Copied
Failed
Copy SHA
samual.uk
e1700e68
Copied
Failed
Copy SHA
simplify `lastBinlog` and `lastLastBinlog` to `defenderBinlog` and `attackerBinlog`
3y ago
allow to specify initial state of `simulateGame()` and edit jsdocs a bit
samual.uk
·
3y ago
1276f292
Copied
Failed
Copy SHA
samual.uk
1276f292
Copied
Failed
Copy SHA
allow to specify initial state of `simulateGame()` and edit jsdocs a bit
3y ago
general fixes
samual.uk
·
3y ago
ddb8a6a5
Copied
Failed
Copy SHA
samual.uk
ddb8a6a5
Copied
Failed
Copy SHA
general fixes
3y ago
remove `export default` and fix tests
samual.uk
·
3y ago
ab3d8c71
Copied
Failed
Copy SHA
samual.uk
ab3d8c71
Copied
Failed
Copy SHA
remove `export default` and fix tests
3y ago
`create` to `make`
samual.uk
·
3y ago
300deea4
Copied
Failed
Copy SHA
samual.uk
300deea4
Copied
Failed
Copy SHA
`create` to `make`
3y ago
update
samual.uk
·
3y ago
dafc5b79
Copied
Failed
Copy SHA
samual.uk
dafc5b79
Copied
Failed
Copy SHA
update
3y ago
July 2022
change `operator-linebreak` to `after` make style move `Card`, `CardSuit`, `Role`, `State` to `shared.ts` rename `Action` to `MoveKind` rename `action` property of `Move` to `kind`
Samual Norman
·
4y ago
53b5ee0f
Copied
Failed
Copy SHA
Samual Norman
53b5ee0f
Copied
Failed
Copy SHA
change `operator-linebreak` to `after` make style move `Card`, `CardSuit`, `Role`, `State` to `shared.ts` rename `Action` to `MoveKind` rename `action` property of `Move` to `kind`
4y ago
fix `onMove()` being called with old binlog after win
Samual Norman
·
4y ago
aac024c7
Copied
Failed
Copy SHA
Samual Norman
aac024c7
Copied
Failed
Copy SHA
fix `onMove()` being called with old binlog after win
4y ago
March 2022
amend error message said `"defender"` when it was an error caused by the attacker brain
Samual Norman
·
4y ago
5465b563
Copied
Failed
Copy SHA
Samual Norman
5465b563
Copied
Failed
Copy SHA
amend error message said `"defender"` when it was an error caused by the attacker brain
4y ago
rename `statusCodeMessages` to `StatusCodeMessages`
Samual Norman
·
4y ago
558cf270
Copied
Failed
Copy SHA
Samual Norman
558cf270
Copied
Failed
Copy SHA
rename `statusCodeMessages` to `StatusCodeMessages`
4y ago
break up long lines of code where viable also removed empty jsdoc line
Samual Norman
·
4y ago
2df02b42
Copied
Failed
Copy SHA
Samual Norman
2df02b42
Copied
Failed
Copy SHA
break up long lines of code where viable also removed empty jsdoc line
4y ago
create and `export` for brain script
Samual Norman
·
4y ago
1c4a77ac
Copied
Failed
Copy SHA
Samual Norman
1c4a77ac
Copied
Failed
Copy SHA
create and `export` for brain script
4y ago
move `onMove()` call to before `return`
Samual Norman
·
4y ago
0ec2888c
Copied
Failed
Copy SHA
Samual Norman
0ec2888c
Copied
Failed
Copy SHA
move `onMove()` call to before `return`
4y ago
add optional `onMove` callback
Samual Norman
·
4y ago
0232022b
Copied
Failed
Copy SHA
Samual Norman
0232022b
Copied
Failed
Copy SHA
add optional `onMove` callback
4y ago
fix `endTime` not being reset
Samual Norman
·
4y ago
53303657
Copied
Failed
Copy SHA
Samual Norman
53303657
Copied
Failed
Copy SHA
fix `endTime` not being reset
4y ago
fix binlog being in wrong order
Samual Norman
·
4y ago
83a6ade7
Copied
Failed
Copy SHA
Samual Norman
83a6ade7
Copied
Failed
Copy SHA
fix binlog being in wrong order
4y ago
add `noThrow` option to `simulateGame()` when enabled, `throw`s are supressed and instead brains'll recieve `{ ok: false }` from `xform()`
Samual Norman
·
4y ago
b9fd8553
Copied
Failed
Copy SHA
Samual Norman
b9fd8553
Copied
Failed
Copy SHA
add `noThrow` option to `simulateGame()` when enabled, `throw`s are supressed and instead brains'll recieve `{ ok: false }` from `xform()`
4y ago
fix brain being able to make 2 moves
Samual Norman
·
4y ago
d7e43990
Copied
Failed
Copy SHA
Samual Norman
d7e43990
Copied
Failed
Copy SHA
fix brain being able to make 2 moves
4y ago
add `simulateGame` function takes 2 brain functions for both sides and simulates a game of binmat between 2 brains
Samual Norman
·
4y ago
6a8e3be7
Copied
Failed
Copy SHA
Samual Norman
6a8e3be7
Copied
Failed
Copy SHA
add `simulateGame` function takes 2 brain functions for both sides and simulates a game of binmat between 2 brains
4y ago