Skip to content

Commit efd3aac

Browse files
author
XenGi
committed
last changes before release. version bump.
1 parent 14e40e9 commit efd3aac

File tree

12 files changed

+118
-93
lines changed

12 files changed

+118
-93
lines changed

README.md

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,29 @@
1-
pymlgame
2-
========
1+
# pymlgame
32

4-
pymlgame is an abstraction layer to easily build games for Mate Light inspired by pygame.
3+
pymlgame is an abstraction layer to easily build games for Mate Light inspired
4+
by pygame.
5+
6+
You need 3 parts to actually have a running game on Mate Light.
7+
8+
## The game
9+
10+
You can build a game using the pymlgame library. If you know the pygame
11+
library this should meen nothing new to you. Use the game_example.py to find
12+
out how to to so.
13+
14+
## A controller
15+
16+
If you want players, your game needs a controller to have some inputs. You
17+
can use anything as a controller that can trigger the JSONRPC calls in your
18+
game. As an example you can use the controller_example.py and adapt it to
19+
your controller.
20+
21+
## Mate Light
22+
23+
Last but not least you need Mate Light as your display. If you are not at
24+
c-base space station but still want to tinker around with this you can use
25+
the emulator.py to do so.
26+
27+
---
28+
29+
Have fun while playing pymlgames on Mate Light! :D

controller_example.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
other machine capable of pygame to connect to a pymlgame instance.
1010
"""
1111

12-
__author__ = "Ricardo Band"
13-
__copyright__ = "Copyright 2013, Ricardo Band"
14-
__credits__ = ["Ricardo Band"]
15-
__license__ = "MIT"
16-
__version__ = "0.1.0"
17-
__maintainer__ = "Ricardo Band"
18-
__email__ = "[email protected]"
19-
__status__ = "Development"
12+
__author__ = 'Ricardo Band'
13+
__copyright__ = 'Copyright 2013, Ricardo Band'
14+
__credits__ = ['Ricardo Band']
15+
__license__ = 'MIT'
16+
__version__ = '0.1.0'
17+
__maintainer__ = 'Ricardo Band'
18+
__email__ = '[email protected]'
19+
__status__ = 'Development'
2020

2121
import sys
2222

emu.py renamed to emulator.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
at c-base but want to code something for it.
1010
"""
1111

12-
__author__ = "Ricardo Band"
13-
__copyright__ = "Copyright 2013, Ricardo Band"
14-
__credits__ = ["Ricardo Band"]
15-
__license__ = "MIT"
16-
__version__ = "0.1.0"
17-
__maintainer__ = "Ricardo Band"
18-
__email__ = "[email protected]"
19-
__status__ = "Development"
12+
__author__ = 'Ricardo Band'
13+
__copyright__ = 'Copyright 2013, Ricardo Band'
14+
__credits__ = ['Ricardo Band']
15+
__license__ = 'MIT'
16+
__version__ = '0.1.0'
17+
__maintainer__ = 'Ricardo Band'
18+
__email__ = '[email protected]'
19+
__status__ = 'Development'
2020

2121
import sys
2222
import socket

game_example.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
controller example for this.
1111
"""
1212

13-
__author__ = "Ricardo Band"
14-
__copyright__ = "Copyright 2013, Ricardo Band"
15-
__credits__ = ["Ricardo Band"]
16-
__license__ = "MIT"
17-
__version__ = "0.1.0"
18-
__maintainer__ = "Ricardo Band"
19-
__email__ = "[email protected]"
20-
__status__ = "Development"
13+
__author__ = 'Ricardo Band'
14+
__copyright__ = 'Copyright 2013, Ricardo Band'
15+
__credits__ = ['Ricardo Band']
16+
__license__ = 'MIT'
17+
__version__ = '0.1.0'
18+
__maintainer__ = 'Ricardo Band'
19+
__email__ = '[email protected]'
20+
__status__ = 'Development'
2121

2222
import pymlgame
2323

pymlgame/__init__.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# -*- coding: utf-8 -*-
22

3-
__author__ = "Ricardo Band"
4-
__copyright__ = "Copyright 2013, Ricardo Band"
5-
__credits__ = ["Ricardo Band"]
6-
__license__ = "MIT"
7-
__version__ = "0.0.1"
8-
__maintainer__ = "Ricardo Band"
9-
__email__ = "[email protected]"
10-
__status__ = "Development"
3+
__author__ = 'Ricardo Band'
4+
__copyright__ = 'Copyright 2013, Ricardo Band'
5+
__credits__ = ['Ricardo Band']
6+
__license__ = 'MIT'
7+
__version__ = '0.1.0'
8+
__maintainer__ = 'Ricardo Band'
9+
__email__ = '[email protected]'
10+
__status__ = 'Development'
1111

1212
from pymlgame.locals import *
1313
from pymlgame.screen import Screen

pymlgame/clock.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
pymlgame - Clock
55
"""
66

7-
__author__ = "Ricardo Band"
8-
__copyright__ = "Copyright 2013, Ricardo Band"
9-
__credits__ = ["Ricardo Band"]
10-
__license__ = "MIT"
11-
__version__ = "0.0.1"
12-
__maintainer__ = "Ricardo Band"
13-
__email__ = "[email protected]"
14-
__status__ = "Development"
7+
__author__ = 'Ricardo Band'
8+
__copyright__ = 'Copyright 2013, Ricardo Band'
9+
__credits__ = ['Ricardo Band']
10+
__license__ = 'MIT'
11+
__version__ = '0.1.0'
12+
__maintainer__ = 'Ricardo Band'
13+
__email__ = '[email protected]'
14+
__status__ = 'Development'
1515

1616
import time
1717

pymlgame/controller.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
pymlgame - Controller
55
"""
66

7-
__author__ = "Ricardo Band"
8-
__copyright__ = "Copyright 2013, Ricardo Band"
9-
__credits__ = ["Ricardo Band"]
10-
__license__ = "MIT"
11-
__version__ = "0.0.1"
12-
__maintainer__ = "Ricardo Band"
13-
__email__ = "[email protected]"
14-
__status__ = "Development"
7+
__author__ = 'Ricardo Band'
8+
__copyright__ = 'Copyright 2013, Ricardo Band'
9+
__credits__ = ['Ricardo Band']
10+
__license__ = 'MIT'
11+
__version__ = '0.1.0'
12+
__maintainer__ = 'Ricardo Band'
13+
__email__ = '[email protected]'
14+
__status__ = 'Development'
1515

1616
from threading import Thread
1717

pymlgame/locals.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
pymlgame - Locals
55
"""
66

7-
__author__ = "Ricardo Band"
8-
__copyright__ = "Copyright 2013, Ricardo Band"
9-
__credits__ = ["Ricardo Band"]
10-
__license__ = "MIT"
11-
__version__ = "0.0.1"
12-
__maintainer__ = "Ricardo Band"
13-
__email__ = "[email protected]"
14-
__status__ = "Development"
7+
__author__ = 'Ricardo Band'
8+
__copyright__ = 'Copyright 2013, Ricardo Band'
9+
__credits__ = ['Ricardo Band']
10+
__license__ = 'MIT'
11+
__version__ = '0.1.0'
12+
__maintainer__ = 'Ricardo Band'
13+
__email__ = '[email protected]'
14+
__status__ = 'Development'
1515

1616
# event types
1717
KEYUP = 0

pymlgame/screen.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
pymlgame - Screen
55
"""
66

7-
__author__ = "Ricardo Band"
8-
__copyright__ = "Copyright 2013, Ricardo Band"
9-
__credits__ = ["Ricardo Band"]
10-
__license__ = "MIT"
11-
__version__ = "0.0.1"
12-
__maintainer__ = "Ricardo Band"
13-
__email__ = "[email protected]"
14-
__status__ = "Development"
7+
__author__ = 'Ricardo Band'
8+
__copyright__ = 'Copyright 2013, Ricardo Band'
9+
__credits__ = ['Ricardo Band']
10+
__license__ = 'MIT'
11+
__version__ = '0.1.0'
12+
__maintainer__ = 'Ricardo Band'
13+
__email__ = '[email protected]'
14+
__status__ = 'Development'
1515

1616
import socket
1717

pymlgame/surface.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
pymlgame - Surface
55
"""
66

7-
__author__ = "Ricardo Band"
8-
__copyright__ = "Copyright 2013, Ricardo Band"
9-
__credits__ = ["Ricardo Band"]
10-
__license__ = "MIT"
11-
__version__ = "0.0.1"
12-
__maintainer__ = "Ricardo Band"
13-
__email__ = "[email protected]"
14-
__status__ = "Development"
7+
__author__ = 'Ricardo Band'
8+
__copyright__ = 'Copyright 2013, Ricardo Band'
9+
__credits__ = ['Ricardo Band']
10+
__license__ = 'MIT'
11+
__version__ = '0.1.0'
12+
__maintainer__ = 'Ricardo Band'
13+
__email__ = '[email protected]'
14+
__status__ = 'Development'
1515

1616
import math
1717

0 commit comments

Comments
 (0)