itsapi / pycraft

A Minecraft-inspired game for the terminal
GNU General Public License v2.0
197 stars 21 forks source link

TNT bugs #93

Closed SullyJHF closed 8 years ago

SullyJHF commented 8 years ago
Traceback (most recent call last):
  File "main.py", line 300, in <module>
    main()
  File "main.py", line 18, in main
    game(blocks, *ui.main())
  File "main.py", line 185, in game
    new_new_slices[tx][ty] = ' '
IndexError: list assignment index out of range

This also led me to find that falling out of bound while the cursor is pointing straight down causes the game to crash. (#95)

olls commented 8 years ago

Yes I implemented a proof of concept very quickly, needs a lot of improvements!