PHP is a general-purpose programming language that is especially suited for web development.

learn more… | top users | synonyms

0
votes
3answers
522 views

Web Card Game , MySQL vs SQLite performance wise

Been thinking of creating a js/PHP/MySQL game, with multiple players / games happening concurrently. Is there any chance SQLite might be faster for something like this than MySQL? Keep in mind that ...
3
votes
2answers
609 views

Drag and Drop Team Selection

I have a Fantasy F1 Website, currently users select their teams using dropdown menus. It works OK but isn't as user friendly as I would like. I would like to implement a drag and drop type of ...
-1
votes
2answers
664 views

Concerns for Hosting a Facebook App

I am working solo on an AS3 Facebook App project of the Interactive Quiz type nature. What amount of bandwidth would it take for a simple Facebook app to run? What sort of traffic would be produced ...
0
votes
1answer
235 views

Need Feedback for PHP & MySQL Saving Game Progress

My team is planning to create a simulation game using Javascript, CodeIgniter and MySQL for the backend. It will be mostly click based, ie: There will be buttons for activities like Eat, Play, Study, ...
0
votes
3answers
2k views

For making an online multiplayer browser-based game, what tech would be more efficient to use? [closed]

I asked a partial question on stackoverflow, and then realized that this would be the place to get a better answer because this is the game dev website, and you all may know more than the programmers ...
1
vote
1answer
873 views

PHP battle script

I have custom built as a little personal project a website coded in php that is a MMORPG. It is at the minute just a personal private project but I am stuck as what to do when it comes to users ...
3
votes
3answers
303 views

How can I randomly generate arbitrary “rules” for a creative card game

My friends and I in school play this interesting card game, which we call 'the game without rules' (ironically, of course). The game is like this: in the beginning of a school year, we start with one ...
1
vote
2answers
4k views

Multiplayer card game using PHP/Ajax and mysql

I am designing a map game, using PHP and MYSQL. I don't know how to make the players who sign-in to the website to see other players who are also connected to the site and be able to chat with one ...
22
votes
2answers
11k views

Understanding Perlin Noise

I'm toying with Perlin Noise after some work with Diamond Square. I followed the implementation by Hugo Elias that basically, makes a series of functions with x,y as input to throw each coordinate ...
1
vote
1answer
283 views

How to decide who wins a race?

I'im thinking of building a text-based browser game. A racing game.like F1 or rally. users can set-up a car. thinks like tyres, fuel, driver,brakes. every attribute gets a value. the part where i ...
0
votes
1answer
601 views

SQl, noSQL, and Doctrine with Symfony 2.0

I've had the idea of creating a webgame for a while now, and as it becomes more and more accurate i started playing around with Symfony 2.0. First question : it seems that it is recommanded to use ...
1
vote
1answer
643 views

hexagon tiles to square tiled map

in a previous question asked here:how-to-create-a-hexagon-world-map @Tim Holt has provided code that does the job that i'm wanted to do, the only difference I would like is to have it as squares ...
9
votes
4answers
6k views

How relevant is PHP today for browser games?

I was the lead developer of 2 moderately successful browser games quite a few years back, and plan on working on a new game soon. At the time, I wrote them in pure PHP (no template engine or anything ...
-5
votes
2answers
459 views

Is it possible to integrate Action Script 3.0 with Java Script and PHP for an online browser game?

My client wants a browser based online game, languages which are known to me are Java Script PHP and Action Script and also My Sql. Game is quite like Farmvile as far as functionality is concerned.I ...
0
votes
3answers
241 views

Using an engine to create content with PHP - but how should it happen?

I need to create an engine that will allow me to add content to a website. The website is a browser-based game. This is a verbose engine that should be able to handle many different aspects of the ...
5
votes
4answers
714 views

Browser-board-game and server push

I want to start developing a browser game. Not for success, just for the sake of doing it and learning something from it. Now, a point where I have serious problems figuring out how to deal with it ...
4
votes
2answers
453 views

What platform should I use for a master server?

We are making a small FPS, and want people to be able to play it online and fetch a list of all servers from a master server. We only have experience in C#, and we have already written a master server ...
6
votes
4answers
2k views

Text-based game using JavaScript and/or PHP

I'd like to make a simple text-based game using either JavaScript or PHP. Ideally I'd like to be able to render ASCII text in a kind of blackscreen "console" style (think console roguelikes such as ...
1
vote
0answers
317 views

How can I secure a high score table? [duplicate]

Possible Duplicate: How can I prevent cheating on global highscore tables? So, I create a game in Flash and I want to keep a hi-score table for people to compete in. After a player has ...
3
votes
3answers
1k views

Facebook Game database design

I'm currently develop a facebook mafia like PHP game(of course, a light weight version), here is a simplify database(MySQL) of the game id-a <int3> <for index> uid ...
5
votes
6answers
2k views

How to implement a component based system for items in a web game

Reading several other questions and answers on using a component based system to define items I want to use one for the items and spells in a web game written in PHP. I'm just stuck on the ...
4
votes
2answers
2k views

Control diamond square algorithm to generate islands/pangea

I generated a height map with the diamond square algorithm. The thing is i do not manage to create islands, this is, restrict the height other than water level range to a certain value in the center ...
25
votes
5answers
12k views

How to create a hexagon world map in PHP from a database for a browser based strategy game

I'm trying to create a hexagon world map for my PHP browser based strategy game. I've created a table in my database with the following data per row: id, type, x, y and occupied. Where type is the ...
5
votes
3answers
1k views

Securing JavaScript / PHP game data

Followup to securing-http-data-from-a-javascript-game-to-server. I'm working on something similar, in that I have a PHP backend and a JavaScript frontend, which plays around with the HTML5 canvas ...
8
votes
3answers
915 views

Calculating Experience Points earned after a battle

I'm developing a simple text battle game and having some issues calculating how much XP should be earned after a battle, theres a few factors that i want to consider: 1) Players should of course earn ...
8
votes
4answers
1k views

Securing HTTP data from a JavaScript game to server

Suppose I am doing a JavaScript game, and I wish the game to update the server if the user has successfully completes the game and his outcome. How should I ensure that the request came from the ...