gameserverclient/README.md

85 lines
1.4 KiB
Markdown
Raw Normal View History

2014-11-24 18:04:45 +00:00
### Desciprtion
2014-11-24 18:05:39 +00:00
An Apple //e native client for <http://asciiexpress.net/gameserver/>. Fully describing this will take too long--just watch the video: <http://asciiexpress.net/gameserver/gameserverclient.mp4>.
2014-11-24 18:04:45 +00:00
### Download
```
git clone https://github.com/datajerk/gameserverclient.git
```
*or*
Download <https://github.com/datajerk/gameserverclient/archive/master.zip> and extract.
### Build Notes
#### Prerequisites
- `cl65` (<http://cc65.github.io/cc65/>)
- `c2d` (<https://github.com/datajerk/c2d>)
- `libqrencode` (<https://github.com/fukuchi/libqrencode>)
- `perl`
- `gcc`
- `figlet`
2014-11-24 18:04:45 +00:00
#### Build
2014-11-24 18:04:45 +00:00
```
make
2014-11-24 18:04:45 +00:00
```
2017-06-01 19:45:22 +00:00
### Test
#### Prerequisites
- MacOS
- Virtual ][
2017-06-03 21:21:45 +00:00
- `curl`
2017-06-03 20:36:12 +00:00
- `zxing` (<https://github.com/glassechidna/zxing-cpp>)
- `tifftopnm` and `pnmtojpeg` from Netpbm (<http://netpbm.sourceforge.net/>)
- `sox` and `soxi` from SoX (<http://sox.sourceforge.net/>)
2017-06-01 19:45:22 +00:00
```
make test
2017-06-03 20:36:12 +00:00
```
#### Ad Hoc Testing
```
./quick.sh [search string or "random"]
./demo.sh [search string or "random"]
2017-06-01 19:45:22 +00:00
```
2017-06-03 21:24:38 +00:00
Example Session:
```
$ ./demo.sh alien
1 Alien Ambush
2 Alien Downpour
3 Alien Game
4 Alien Munchies
5 Alien Typhoon
pick one: 2
Alien Downpour...LAUNCHED
```
Video Output: <http://asciiexpress.net/files/gameserverclienttest.mp4>
### Appendix
#### zxing-cpp build
```
git clone https://github.com/glassechidna/zxing-cpp
cd xzing-cpp
cd build
cmake -G "Unix Makefiles" ..
make
sudo cp zxing /usr/local/bin/
```