- Real time combat
- Team Game
- Online - optional, with ability to private host
- Deathmatch/Team Deathmatch support
- Time based/ Goal based games. Not endless.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
function HtmlStorageWrapper(storage) { | |
return { | |
get: function (key) { | |
const valueFromStorage = JSON.parse(storage.getItem(key)); | |
return !valueFromStorage || Date.parse(valueFromStorage.expires) <= (new Date).getTime() | |
? (storage.removeItem(key), null) | |
: valueFromStorage.value | |
}, | |
set: function (key, value, expiresDate) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul> | |
<li *ngFor="let item of formEntries$ | async | keyvalue"> | |
{{item.key}} | |
<ul> | |
<li *ngFor="let entry of item.value" (click)="pickedComponent = entry.component"> | |
{{entry.name}} | |
</li> | |
</ul> | |
</li> | |
</ul> |
Server backend options:
- Colyseus - https://github.com/gamestdio/colyseus
- Lance.gg - https://github.com/lance-gg/lance
- Nakama - https://github.com/heroiclabs/nakama/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
graph = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%cr)%C(reset) %C(white) %s%C(reset) %C(bold yellow)- %cn%C(reset)%C(bold red)%d%C(reset)' --all | |
pr = pull --rebase | |
ob = checkout -b | |
amend = commit --amend | |
qam = commit --amend --no-verify --no-edit | |
tmp = commit --no-verify -m | |
far-master = !git fetch && git checkout -f master && git reset --hard origin/master |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DEFAULT_VOLUME_PATH=~/mongo/data | |
CONTAINER_NAME=some-mongo | |
runMongoContainer() | |
{ | |
VOLUME=$1 | |
docker run --name $CONTAINER_NAME -v $VOLUME:/data/bs -p 27017:27017 -d mongo --replSet rs0 | |
####################################################################### NOTICE --replSet | |
} |
NewerOlder