DEATH

a multiplayer variant of conways game of LIFE
git clone https://git.ce9e.org/DEATH.git

commit
c389d3ce1bb6eb1dde4b9113b21bb14d460c7bc3
parent
f90c6e38a1e19dbe3941706596a9fb040b0ab3f2
Author
Tobias Bengfort <tobias.bengfort@gmx.net>
Date
2014-05-25 20:54
rename DeathCli DeathUI

Diffstat

M DEATH/DeathCliMenu.py 4 ++--
R DEATH/DeathCli.py -> DEATH/death_ui.py 4 ++--

2 files changed, 4 insertions, 4 deletions


diff --git a/DEATH/DeathCliMenu.py b/DEATH/DeathCliMenu.py

@@ -2,7 +2,7 @@
    2     2 # -*- coding: utf-8 -*-
    3     3 
    4     4 import curses
    5    -1 from DeathCli import DeathCli
   -1     5 from death_ui import DeathUI
    6     6 from death import Death
    7     7 from matrix import Map
    8     8 
@@ -175,7 +175,7 @@ class Crs(object):
  175   175 
  176   176 		_map = Map(rows, cols)
  177   177 		d = Death(_map, n, alive, born, kill)
  178    -1 		DeathCli(d, 'default', self.screen)
   -1   178 		DeathUI(d, 'default', self.screen)
  179   179 		return True
  180   180 
  181   181 

diff --git a/DEATH/DeathCli.py b/DEATH/death_ui.py

@@ -46,7 +46,7 @@ def example_game(rows=15, cols=15, n=2):
   46    46 	return death
   47    47 
   48    48 
   49    -1 class DeathCli(object):
   -1    49 class DeathUI(object):
   50    50 	def __init__(self, death=example_game(15, 15, 2), title='',
   51    51 			screen=curses.initscr()):
   52    52 		self.screen = screen
@@ -142,7 +142,7 @@ class DeathCli(object):
  142   142 
  143   143 if __name__ == '__main__':
  144   144 	try:
  145    -1 		DeathCli()
   -1   145 		DeathUI()
  146   146 	except Exception as ex:
  147   147 		print(ex)
  148   148 	curses.endwin()