Ajax / Java my Combat Sim Page
This project was successfully completed by pinelg1029 for $138 USD in 7 days.Get free quotes for a project like this
Project Budget$30 - $250 USD
Completed In7 days
This is a small project for the right person with the right skills. I have created a small combat simulator for my larger game. It requires someone with the right skill set to transform it to a smooth and modern compliant combat sim.
This is a small combat sim where players enter into combat with a RAID size vessel. They appear on the war-board and can move and attack. If they use Missiles they can attack from 4 cells away if using anything else they must get within 2/3 cells from any part of the target.
The Central vessel will boost its shields, repair its hull and armour and in the next version spawn small fighter ship. (hence all the blank stats to be used later).
If a player ships is destroyed its removed from the war-board and they are returned to the primary game (back to [url removed, login to view]) Players can LEAVE the war-board by moving out of the combat arena. Again sent back to index.php.
The screens you see in the attached images are already built in php / css and connect to a MySQL database.
The player is passed to this main screen and inserted in to the tables (we do that). At the moment they can click on each ship they see and get a stats report on the right. They can also mouse over the ships to see what they are and who.
This is a non PVP game, so the small ships shown in the pictures are players all attacking the primary large vessel in the centre.
Bid Request Details
From here I need a developer to add the relevant code to do the following :
1: Once a target is clicked on, I need to assign actions to FIRST TWO the icons referenced in the image wb6 to do various things. Attack and Move.
Attack : Will use variables drawn from the DB (IE lower and upper damage / weapon type). Randomised hit / miss and a figure between the two used to damage the main centre vessel. Then display something like image wb7.
The message should time out after X seconds or disappears when clicked. Some form of time-out should be placed so players cannot Fire, Fire, Fire etc. So a pause / wait for X seconds before the option is ready again.
Move : Image wb8 shows a rough example of what I want. Each player can only move one grid square at a time (the war-board is made of 240 cells.) When they click the move icon they are shown transparent green / red blocks as to where they can move. 1 block in each direct unless that block is filled with another ship.
Successful movement should just update the screen (and DB) no need for message unless needed for mechanics. Some form of time-out should be placed so players cannot move, move, move, move etc. So a pause / wait for X seconds before the option is ready again.
If a player moves OUTSIDE the warboard area it is seen as an exit from the action and they are returned to [url removed, login to view] and all reference removed from the relevant tables.
The whole idea here is to keep whole page reloads to a minimum, using java / ajax to refresh sections of the screen. Yet keeping players up-to-date with the actions
AI for Central Ship :
If possible but not 100% required at this stage it would be good if we can make the enemy ship attack random player targets (the smaller ships) these are denoted in the DB as player ships. The Large vessel should only be able to attack targets within 4/5 cells of itself. Allowing players a safe harbour area. In return players will need to be within weapon range to attack.
Should you just wish to bid on the main code and not this section of AI return fire then please make that know in your bid or we will assume the bid encompass all requests.
Large Ship Messages - when a player is attacked by the large ship the bottom central text area is updated (db entries).
Should a player ship be destroyed a message should be displayed and the screen redirected to [url removed, login to view] (DB also updated and player entries removed.) that will pass them back to the main game.
In-depth details can be agreed once a successful bidder has been agreed.
Looking to make some money?
- Set your budget and the timeframe
- Outline your proposal
- Get paid for your work
Hire Freelancers who also bid on this project
Looking for work?
Work on projects like this and make money from home!Sign Up Now
- The New York Times
- Wall Street Journal
- Times Online