Commit Graph

68 Commits

Author SHA1 Message Date
Stefan Harmuth
3c855e6749 range methods
better get()
allow print() to be useful with false/true grids
2021-12-13 07:19:27 +01:00
Stefan Harmuth
d5a278ceef a* (untested) 2021-12-13 06:18:25 +01:00
Stefan Harmuth
dfe5afb735 write json files readable 2021-12-13 05:08:35 +01:00
Stefan Harmuth
78e180871e accomodate for pypy 2021-12-12 17:58:03 +01:00
Stefan Harmuth
904caf85ae fibonacci without functools (to work in pypy) 2021-12-12 15:28:33 +01:00
Stefan Harmuth
d8bb8d8aba setup.py needs to be top level 2021-12-12 15:15:28 +01:00
Stefan Harmuth
ec059d5354 way better (and much quicker) solution to receive lines from sockets 2021-12-12 08:25:47 +01:00
Stefan Harmuth
d806c838c4 remove unnecessary int cast 2021-12-11 08:56:37 +01:00
Stefan Harmuth
4c56a767b2 more robust interface, keep track of users and channels 2021-12-11 08:53:44 +01:00
Stefan Harmuth
4ab6519321 annotation cleanup
add grid.mul() and grid.div()
2021-12-11 07:15:32 +01:00
Stefan Harmuth
7b52ce4fba codeline cleanup 2021-12-11 06:47:33 +01:00
Stefan Harmuth
abbf1c85e1 grid.Grid: finally add that stupid print() method I'm always writing for debugging
grid.Grid: add(), sub() and set() return what they've actually wrote to the cell
2021-12-11 06:45:24 +01:00
Stefan Harmuth
55a12f7dc8 don't assume what an "OFF_STATE" might be, use the supplied default instead 2021-12-09 06:20:57 +01:00
Stefan Harmuth
393e846926 import woes 2021-12-07 08:50:02 +01:00
Stefan Harmuth
eb63ba9e99 annotations, correct plural 2021-12-07 06:54:31 +01:00
Stefan Harmuth
c5d10980e9 relative import 2021-12-07 06:49:23 +01:00
Stefan Harmuth
4a2b99f8f2 some more integer sequences to remember 2021-12-07 06:38:42 +01:00
Stefan Harmuth
5c811280d7 move everything into a submodule to avoid namespace collisions 2021-12-07 06:30:52 +01:00