It is currently Sun May 19, 2013 6:26 pm Advanced search

Game engine in C++

Code won't compile? Found a bug? Post here!

Re: Game engine in C++

Postby Demerzel » Tue Nov 09, 2010 3:16 pm

why not just compile it for windows and cygwin? i don't really want all the source and go downloading extensions etc
Demerzel
Colonel
 
Posts: 72
Joined: Sat Oct 02, 2010 6:06 am
Location: themendios at gee mail

Re: Game engine in C++

Postby zorun_ » Sat Nov 13, 2010 12:20 pm

Albert: I used your game engine in a HTML viewer (it is actually more a bash script that binds together your engine and the javascript viewer of the ai-contest website)
See viewtopic.php?f=18&t=1093

If there is any problem in using it, just tell me (just in case, because I believe it is ok)

By the way, thank you for doing this ! I was looking for something better than the Java crap, and your engine is the best alternative I found.
zorun_
Cadet
 
Posts: 6
Joined: Mon Nov 01, 2010 12:08 am

Re: Game engine in C++

Postby spz » Sat Nov 13, 2010 5:09 pm

That's how I run it (playgame.exe + HTML / JS visualizer).

The only problem I've noticed, but it could be just my PC /setup, when my bot crashes playgame.exe doesn't terminate, it just hangs.
spz
Captain
 
Posts: 24
Joined: Fri Sep 24, 2010 1:58 am

Re: Game engine in C++

Postby jekonaa » Fri Mar 11, 2011 5:47 am

How to execute a C Program and display output on Web Page? I run my own Mac OS X server to host a website and have a fairly decent knowledge of HTML and PHP (as well as introductory experience in Perl, JS, etc). I'm wondering if it's possible to execute a C program that I have stored in my server and display its results on a web page. If so, how?
___________________________
yahoo keyword tool ~ overture ~ traffic estimator ~ adwords traffic estimator
jekonaa
Cadet
 
Posts: 1
Joined: Wed Mar 09, 2011 5:55 am

Re: Game engine in C++

Postby McLeopold » Mon Mar 21, 2011 4:21 pm

[quote="jekonaa"]How to execute a C Program and display output on Web Page? I run my own Mac OS X server to host a website and have a fairly decent knowledge of HTML and PHP (as well as introductory experience in Perl, JS, etc). I'm wondering if it's possible to execute a C program that I have stored in my server and display its results on a web page. If so, how?

php has the passthru() function. It should run any program and put the stdout in the rendered php page.
McLeopold
Contest Organizer
 
Posts: 262
Joined: Sun Sep 19, 2010 3:31 am

Re: Game engine in C++

Postby amstan » Mon Mar 21, 2011 11:34 pm

jekonaa wrote:How to execute a C Program and display output on Web Page? I run my own Mac OS X server to host a website and have a fairly decent knowledge of HTML and PHP (as well as introductory experience in Perl, JS, etc). I'm wondering if it's possible to execute a C program that I have stored in my server and display its results on a web page. If so, how?


php has the passthru() function. It should run any program and put the stdout in the rendered php page.
Alexandru M. Stan
Contest Organizer
User avatar
amstan
Contest Organizer
 
Posts: 692
Joined: Sun Jan 31, 2010 4:02 am
Location: Stoney Creek, Ontario

Previous

Return to Technical Issues

Who is online

Users browsing this forum: No registered users and 1 guest

cron