Changeset View
Changeset View
Standalone View
Standalone View
scripts/breakout.py
#!/usr/bin/env python | #!/usr/bin/env python2 | ||||||
import sys | import sys | ||||||
import time | import time | ||||||
import select | import select | ||||||
import curses | import curses | ||||||
import curses.wrapper | import curses.wrapper | ||||||
entities = [] | entities = [] | ||||||
staticshockUnsubmitted Not Done Inline Actions
staticshock: <table>
<tr>
<th>Header</th>
<td>Lorem ipsum dolor sit amet, consectetur adipiscing elit. | |||||||
grid = [] | grid = [] | ||||||
class Wall: | class Wall: | ||||||
def collide(self, ball): | def collide(self, ball): | ||||||
return False | return False | ||||||
class Block: | class Block: | ||||||
killed = 0 | killed = 0 | ||||||
▲ Show 20 Lines • Show All 200 Lines • Show Last 20 Lines |