HTML5 Defcon

Ideas for expansions and improvements to Defcon

Moderator: Defcon moderators

gtanczyk
level0
Posts: 6
Joined: Wed May 22, 2013 7:34 pm
Contact:

HTML5 Defcon

Postby gtanczyk » Wed May 22, 2013 7:45 pm

Hello! My name is Grzegorz, I love DEFCON game, bought it few years ago, played online very often. Recently I started work on HTML5 DEFCON clone. The game is written in JavaScript language(vanilla) and is supposed to work in my GameCloud solution. It's "noBackend" type of service, which lets anyone develop multiplayer game, writing code like server side never existed.

The game name is Dupocracy, it came from polish word: "dupokracja", which means ass-o-cracy :)

Jokes aside, I need help, source code is hosted on GitHub. So far I managed to develop working prototype of game, although it is missing "conventional warfare". The code is full of bugs, graphics.. well theere are no graphics, the game is barely working, yet it has great potential.

Any help is needed, coding, testing, designing gameplay, UI and graphics. Contact me or respond here if You are interested and/or have any questions. Thanks! :)

GitHub source repository:
https://github.com/gtanczyk/Dupocracy

Playable demo:
http://gtanczyk.warsztat.io/Dupocracy/game/index.html?cloud.gamedev.pl:1750/introversion
(hint: to create other room, change "introversion" into to other word)
(hint^2: use Chrome, it does not work properly on FireFox.. YET)

Screenshot from recent state of game:
Image
User avatar
NeatNit
level5
level5
Posts: 2929
Joined: Mon Jan 28, 2008 2:41 pm
Location: Israel
Contact:

Postby NeatNit » Wed May 22, 2013 9:22 pm

This looks great, I hope to see you develop this further.
User avatar
Laika
Site Admin
Posts: 1514
Joined: Tue Feb 07, 2012 7:16 pm
Location: Moscow

Postby Laika » Wed May 22, 2013 11:37 pm

Not sure if I can help you, but I'm fairly interested where it goes. Good luck !
User avatar
kudayta
Introversion Staff
Introversion Staff
Posts: 945
Joined: Mon Aug 09, 2010 7:25 pm

Postby kudayta » Thu May 23, 2013 2:40 am

Ok, I'll admit it, that looks pretty cool.
User avatar
NeatNit
level5
level5
Posts: 2929
Joined: Mon Jan 28, 2008 2:41 pm
Location: Israel
Contact:

Postby NeatNit » Fri May 24, 2013 11:00 am

I am especially interested in a HTML5 version of any game, but this one seems very promising. Specifically, I hope I could get this working on computers in my office, where they are disconnected from the internet (instead using a separate network) and I cannot insert anything through USB. So HTML5 games can simply be printed at home and typed back in into the office computers.
It would also be excellent if I could get this working without too much relying on the existence of a server, only requiring the game files locally and an IP address of one of the players which would be host. If you could make it work like that it would be great for me. :)

DEFCON is a great game for office because it doesn't need constant attention.
gtanczyk
level0
Posts: 6
Joined: Wed May 22, 2013 7:34 pm
Contact:

Postby gtanczyk » Fri May 24, 2013 8:07 pm

Networking in this game is a kind of pseudo peer to peer, in code it looks like players are directly connected to each other. One of players is a host.
For now it works via websocket server(hosted on amazon ec2), however its only role is to exchange messages between players, handle timeouts, disconnections etc.
There are other other options like WebRTC(true p2p in browser). It is possible to seamlessly change networking component in future.

Chrome Apps is an option for "office computers" and I was already doing some stuff with it, so it is definitely possible to achieve something like this: files localy + IP address of host.

If You are inteterested in helping me with this game just by testing it and providing some feedback, send me a PM so I can arrange some testing, when I achieve milestone in development. It may take few weeks until it will become playable tho :)
User avatar
trickser
level5
level5
Posts: 1826
Joined: Thu Mar 06, 2008 2:15 pm
Location: The Senate ; GMT+1
Contact:

Postby trickser » Mon Jun 03, 2013 11:15 pm

NeatNit wrote:So HTML5 games can simply be printed at home and typed back in into the office computers.

:shock: What?

To the actual topic: pretty appealing idea to have a browser defcon!
User avatar
NeatNit
level5
level5
Posts: 2929
Joined: Mon Jan 28, 2008 2:41 pm
Location: Israel
Contact:

Postby NeatNit » Tue Jun 04, 2013 5:16 am

trickser wrote:
NeatNit wrote:So HTML5 games can simply be printed at home and typed back in into the office computers.

:shock: What?

To the actual topic: pretty appealing idea to have a browser defcon!

All graphics will be redrawn in Paint.
User avatar
Magellan
level1
level1
Posts: 32
Joined: Fri May 10, 2013 2:02 pm
Location: France

Postby Magellan » Tue Jun 04, 2013 10:39 am

Great work!
gtanczyk
level0
Posts: 6
Joined: Wed May 22, 2013 7:34 pm
Contact:

Postby gtanczyk » Wed Jun 05, 2013 7:58 pm

Thanks for response. There was some significant progress in development, however there are still no ships, submarines, bombers nor fighters ;)

Maybe it will be playable before end of June. Gameplay is not finished yet(no scoreboard, victory modes, game speed, alliances etc.) and I will have to put a lot of work and heart in UI/UX and graphic assets.

Some more recent screenshot (those white dots, these are "scouts", passive aircrafts):
Image
User avatar
BMN
level2
level2
Posts: 115
Joined: Sun Mar 04, 2012 9:37 pm

Postby BMN » Thu Jun 06, 2013 5:18 am

I've tried playing this.
Two problems: It won't start unless I make two players in two browsers to play against each other. I guess there's no ai or solo ability. This is okay but a little annoying.
Also, When I do start, it gets suck on the "place radars, you have 2 minutes!" screen. Everything else is black and I'm not sure whether I wait for minutes on end before game starts or something is wrong.
gtanczyk
level0
Posts: 6
Joined: Wed May 22, 2013 7:34 pm
Contact:

Postby gtanczyk » Sun Jun 09, 2013 10:24 pm

Most likely it was one of those bugs, I will fix them all :)

I've just started working on AI, however I didn't play DEFCON vs computer, so I'm not sure if I can do it properly. Should be done within a week.

Btw. I have some experience in programming AI, here is link to my programming game:
http://www.gamedev.pl/robocompo-programming-game (for anyone who is into programming in JS)
gtanczyk
level0
Posts: 6
Joined: Wed May 22, 2013 7:34 pm
Contact:

Postby gtanczyk » Thu Jun 20, 2013 12:17 am

Single player version with working AI:
http://gtanczyk.warsztat.io/Dupocracy/g ... l?loopback

Next thing I will work on are UI and performance improvements.

New screenshot:
Image

Return to “Think Tank”

Who is online

Users browsing this forum: No registered users and 9 guests