-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtodo.txt
More file actions
executable file
·74 lines (61 loc) · 2.51 KB
/
todo.txt
File metadata and controls
executable file
·74 lines (61 loc) · 2.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
Building WASM
=============
$ GOOS=js GOARCH=wasm go build -o ../oddstream.github.io/Herding/gomaze.wasm -x -ldflags="-s -w" -tags browser
$ GOOS=js GOARCH=wasm go build -o ../oddstream.github.io/Herding/gomaze.wasm -ldflags="-s -w" -tags browser
open a terminal in /oddstream.github.io/Herding
$ python3 -m http.server
(-m mod : run library module as a script (terminates option list))
open browser at http://0.0.0.0:8000/gomaze.html
$ cd ~/gomaze && /home/gilbert/go/bin/wasmserve -tags browser oddstream.games/gomaze
(no need to build .wasm file first)
# to update go
$ sudo rm -rf /usr/local/go
$ sudo tar -C /usr/local -xzf go1.16.3.linux-amd64.tar.gz
[ ] remove deprecated APIs
ebiten.Image.Size()
ebiten.CurrentTPS()
Sacred Canonical Immutable
==========================
Single tap (no dragging, long taps, double taps)
TODO
====
[ ] black meanies
start at corners of maze
one per level to a maximum of four
calculate path to puck
path is recalculated when dest reached
level restarts if meanie on puck tile
[ ] multiple pucks, red green blue yellow &c
select grid.activePuck by tapping on an inactive one
only grid.activePuck can move walls
only grid.activePuck gets to puck.SetCamera()
there is always an activePuck
Tile.marked will have to change to a bit field or something, else the pucks follow each other's paths
[ ] puck can only carry one wall?
the toggle wall mechanic is too fiddly for that
[ ] drag and drop puck(s) instead of throwing ball
still shows path to be taken, though
[ ] https://en.wikipedia.org/wiki/Sokoban
push blocks around to herd ghost kittens
[X] retire WASD to toggle wall
[X] puck carries a number of walls
? https://tinygo.org/
? ghosts that hide in cul-de-sacs, different colors
+ score based on time, number of moves
+ menu becomes level select those unlocked
+ title, status bars
+ https://material.io/components/snackbars
+ popup menu when clicking on stationary puck (toggle wall, cycles between ne, se, sw, nw)
+ Rooms/open spaces
http://journal.stuffwithstuff.com/2014/12/21/rooms-and-mazes/
https://github.com/munificent/hauberk/blob/db360d9efa714efb6d937c31953ef849c7394a39/lib/src/content/dungeon.dart
- don't fill in cul-de-sacs, corners become ugly
OTHER IDEAS
===========
Kittens has one puck and multiple ghosts. Try multiple pucks and one ghost?
Spider in a web; puck is a spider, ghosts are flies
spiders can build webs, delete webs
make baby spiders
lay traps for flies, eat them later
eat flies to increase health
get hunted by predators (as do flies, spiders compete for them)