Skip to content

DrMartinLutherXing/ctmgc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ctmgc

mobile-game-controller

The Mobile Game Controller (MGC) Framework provides a system of tools for building an application with multiple interfaces served according to device preference.

An application built using this framework can seamlessly serve different views to different devices that access the same collective information.

MGC is currently built on top of a streaming pubsub server wherein a user enters a virtual lobby and creates a type of chat room that other users can join and communicate with.

There is currently a Texas Hold 'em game lobby that a user display (computer) can create by going to the port it is being served on. Other users on this network can then join the created lobby and play in a group game of Texas Hold 'em. The display serves as the table and individual mobile devices as the user's respective hands.

MGC can be used to turn potentially any standard game into a group console experience. It can also be easily applied in a business/educational/VR setting:

1. Video conferencing streams or gotomeeting style interfaces controllable by any person in the meeting with their phone
2. Classroom style lecturing with students responding and participating in class with their phones
3. A virtual world displayed on a larger monitor that uses the user's phone's camera to project a virtual representation of them into this world. The user's position and action in this world are naturally controlled by their interactions with their phone.

Back (Init Config)

import os
dirs = [os.path.join("js", "games")]
copies = {
	"html": ["index.html"]
}
syms = {
	"bots": ["lobby.py"],
	"css": ["mgc.css"],
	"img": ["mgc"],
	"js": ["mgc"]
}
requires = ["ctai"]

Front (JS Config)

core.config.ctmgc

Import line: 'CT.require("core.config");'

{
	"games": [],
	"botheads": false,
	"timeout": 30,
	"ws": {
		"host": "localhost",
		"port": 8888,
		"reconnect": false
	}
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published