Skip to content

Commit 5f5cb60

Browse files
author
XenGi
committed
Merge branch 'release/0.1.0' into develop
2 parents 14e40e9 + efd3aac commit 5f5cb60

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

setup.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
pymlgame
66
"""
77

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

1717
import os
1818
from distutils.core import setup
@@ -35,7 +35,7 @@ def read(fname):
3535
description='pymlgame is an abstraction layer to easily build games for Mate Light inspired by pygame.',
3636
long_description=read('README.md'),
3737
download_url='https://github.com/c-base/pymlgame/archive/master.zip',
38-
classifiers=['Development Status :: 2 - Pre-Alpha',
38+
classifiers=['Development Status :: 3 - Alpha',
3939
'Environment :: Console',
4040
'Intended Audience :: Developers',
4141
'License :: OSI Approved :: MIT License',
@@ -44,7 +44,7 @@ def read(fname):
4444
'Programming Language :: Python :: 3.3',
4545
'Topic :: Games/Entertainment',
4646
'Topic :: Software Development :: Libraries :: Python Modules'],
47-
platforms='',
47+
platforms='any',
4848
license=__license__,
4949
packages=['pymlgame'],
5050
requires=['jsonrpclib-pelix'])

tests.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
pymlgame - Unittests
66
"""
77

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

1717
import time
1818
import math

0 commit comments

Comments
 (0)