File tree 2 files changed +36
-1
lines changed 2 files changed +36
-1
lines changed Original file line number Diff line number Diff line change 1
1
# lightningbot-python-interface
2
+
2
3
A helper object to make Python 3 bots for lightningbot.tk.
4
+
5
+ ## Getting Started
6
+
7
+ Clone this repo.
8
+
9
+ ### Prerequisites
10
+
11
+ Python 3
12
+
13
+ ### Running
14
+
15
+ Run a bot script to connect to the test server with that bot.
16
+
17
+ ```
18
+ python3 basic.py
19
+ ```
20
+
21
+ The game won't start unless there are at least 2 bots.
22
+
23
+ There's a script to run the same bot multiple times:
24
+
25
+ ```
26
+ ./parallel_play.sh hilbert.py 2
27
+ ```
28
+
29
+ And this script makes the bot reconnect when the game is over to keep playing forever.
30
+
31
+ ```
32
+ ./auto_play.sh snowflake.py
33
+ ```
34
+
35
+ ## License
36
+
37
+ This project is licensed under the GNU General Public License - see the [ LICENSE] ( LICENSE ) file for details
Original file line number Diff line number Diff line change 17
17
fibonacci_numbers .append (fibonacci_numbers [i - 1 ]+ fibonacci_numbers [i - 2 ])
18
18
19
19
side_length = 0
20
- turn_number = 1
20
+ turn_number = 0
21
21
22
22
while bot .waitForNextTurnDirections ():
23
23
You can’t perform that action at this time.
0 commit comments