Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block edolganov

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
edolganov / main_out.js
Created May 10, 2015 game client with bots
View main_out.js
//replace by this file
//with Fiddler Web Debugger (AutoResponder tab)
//bots can be created in different rooms - so try restart the page if need
var totalBotCount = 0;
function game(h, r, bot, botUrl, botName) {
edolganov / 00_info
Last active Aug 29, 2015
Simple java web-sockets demo
View 00_info
This is java websockets exapmle:
- - start server with Jetty Server inside
- - mapping to ws:// url
- - handler of websocket connections
- - link between the server and the specific client
- - the game engine
- - map model
- - game session with connected players
- - player's state in a session
View example.jsp
<%@ taglib tagdir="/WEB-INF/tags/util" prefix="util" %>
<%-- tag should be placed to Web-inf/tags/util/toJson.tag --%>
<script id="scheduleData" type="json-data"><util:toJson source="${schedule}"/></script>
You can’t perform that action at this time.