Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ahdinosaur/inu-plays-roguelike
'Twitch Plays Pokémon'-style 'Roguelike' game using `inu`
https://github.com/ahdinosaur/inu-plays-roguelike
Last synced: about 2 months ago
JSON representation
'Twitch Plays Pokémon'-style 'Roguelike' game using `inu`
- Host: GitHub
- URL: https://github.com/ahdinosaur/inu-plays-roguelike
- Owner: ahdinosaur
- Archived: true
- Created: 2016-06-14T07:03:33.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-07-04T09:46:49.000Z (about 8 years ago)
- Last Synced: 2024-04-14T06:52:49.642Z (5 months ago)
- Language: JavaScript
- Homepage:
- Size: 55.7 KB
- Stars: 7
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# inu-plays-roguelike
**work in progress**
['Twitch Plays Pokémon'](https://en.wikipedia.org/wiki/Twitch_Plays_Pok%C3%A9mon)-style ['Roguelike'](https://en.wikipedia.org/wiki/Roguelike) game using [`inu`](https://github.com/ahdinosaur/inu)
**play it on a live server!**:
## architecture
- server has state of app
- when user joins, connects to server to receive state
- if user moves, sends action to server
- server updates state and sends new state to *all* usersTODO: use [Entity Component System](https://en.wikipedia.org/wiki/Entity_component_system) architecture.
TODO: use [`webtrc-swarm`](https://github.com/mafintosh/webrtc-swarm/) instead of central server.
## characters
- empty space: ' '
- open space: '.'
- vertical wall: '|'
- horizontal wall: '-'
- adventurer: '@'
- dragon: 'D'as in
```
-----------
|....@....|
|.........|
|.........|
|.........|
|....D....|
-----------
```## developer how to
### install
```shell
git clone git://github.com/ahdinosaur/inu-plays-roguelike
cd inu-plays-roguelike
npm install
```### start development server
```shell
npm run dev
```### start production server
```shell
npm run prod
```## resources
- [Amit’s Game Programming Information](http://www-cs-students.stanford.edu/~amitp/gameprog.html)
- [Procedural Content Generation Wiki - Map Generation](http://pcg.wikidot.com/pcg-algorithm%3amap-generation)## license
The Apache License
Copyright © 2016 Michael Williams
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.