Project

Profile

Help

How to connect?
Download (403 Bytes) Statistics View on GitHub Reload from mirrored respository
| Branch: | Tag: | Revision:

github / src / cocomud.py @ 45e6bcc7

1
"""This demo file creates a simple client with TTS support."""
2

    
3
import wx
4

    
5
from ytranslate.tools import init, select
6

    
7
init(root_dir="translations")
8
select("en")
9

    
10
from game import GameEngine
11
from ui.window import MainWindow
12

    
13
app = wx.App()
14
engine = GameEngine()
15
engine.load()
16
client = engine.open("vanciamud.fr", 4000)
17
window = MainWindow(engine)
18
client.link_window(window)
19
client.start()
20
app.MainLoop()
(4-4/7)