I need PHP programmer with knowledge of mysql and javascrpits (no page reloads plus mysql updates).
Need something like windows minesweeeper game written in PHP and with 3 variables (monster, trap, treasure). Variables are taken from database. (table: id, dungeon_name, size,traps, trap_dmg, monsters, how_many, treasures, tr_guardian).
Also, opened cells have to be stored in database (user_dungeon table), in case, user want to come back there later (it will be game's dungeon).
When first time user visits dungeon, it is generated randomly with monsters, traps and trasures defined in database dungeon's row and stored somehow in user_dungeon's table (it is up to you, how you will do that, but I would prefer only 1 row for 1 user).
Maps are 4 different size. Small (7x7), Medium (9x9), Large (11x11) and eXtraLarge(15x15).
Player starts exploring dungeon at the middle of top row. It is visible at the start. Then can move to any direction (with mouse) to the cell, near which opened cell is. (check [url removed, login to view] near "A")
Traps are placed randomly in area.
Monsters are placed randomly too in area.
Treasures only appear in the half to bottom of the area (check example near "B")
Treasures have their guardians. So around treasure at random place guardian (tr_guardian in database).
I'll give you images:
Monsters (like bombs in minesweeper) are numbers.
Traps are colors of the cell background.
Treasures are treasure box.
When triggered on trap -> update database table with my given php script. Also do alert (box pop up, with something like: "You have triggered a trap and lost X life. [close])
When triggered on monster (boss) -> update database with my script and redirect to different page
When triggered on treasure -> update database and redirect to diff page.
Also, dont want whole page to reload when pressed on cell, would prefer script or something that only shows pressed cell. And before showing that cell use sleep(0.5) for intrigue ^_^
Ask if something isn't clear.
Budget: ~120 dollars.
Được trao cho:
2 freelancer đang chào giá trung bình $115 cho công việc này