Skip to content

Hey folks, help out a DESPERATE student trying to graduate

Seriously, I really need to send this TODAY to graduate.

My idea was to create a simple game stage in PHP/javascript where we have a problem and options for the user to select. If the user chooses the correct option, the game progresses to where it needs to go. So far, the simplest idea I had was to be inspired by the Google Dinosaur game... it was something along those lines. In terms of structure, we would have this:

- PROBLEM -

- code (part missing) code -

- what to do? -

Move forward.

turn right.

turn left.

jump.

and the missing part will be whatever the user chooses.

Could someone please give me any idea of what I can do or which train of thought to follow? I sincerely appreciate it!

1 points15 comments
Open on Reddit
About this post
Posted
Archived
Score
1 · 17% up
Kind
Text
ID
18d982j

Author

4
posts
31
comments
0
media
View profile

22 comments

This is like the 3rd post I've seen todat that I believe someone may be trying to find prompts to enter into an ai game generator (yes these things exist, at least in some rudimentary level to my knowledge).

If you're earnest OP, there likely is not enough time for someone to make such a thing without enough experience first. If this is a real post and your grade is on the line, just do what you can and focus on that.

15 points

I have.....so very many questions.

The game is in JavaScript and PHP? Why those technologies? JS is a defensible choice if the game is browser based, but PHP isn't going to help you unless you're doing some kind of server side thing, which you really only need if you're coordinating state between players or saving data for your players.

I have no idea what the Google dinosaur game is. You're going to have to provide a link.

And if this needs to be done today, sorry friend but you're absolutely hosed. I've been programming professionally for 10 years, and I wouldn't trust myself to make anything more than the most basic of tech demos in a day, let alone anything resembling a full game.

4 points

Basically, a significant portion of the project is a CRUD (Create, Read, Update, Delete) system, where users register to play a game with multiple stages (other members of the group are also working on different stages). The main focus of our project is to create an easy-to-understand game that teaches children programming concepts. Our professor didn't have time to teach us JavaScript, so it's up to us to study and implement it if we find it necessary, which I ended up realizing.

-2 points

If your professor didn't "have time to teach you JavaScript" then why is it part of the assignment? Sorry, I don't think there's anyone who can help you at this point.

11 points

a basic tech demo is exactly what i need haha, I created a simple game using the same logic as the Google Chrome dinosaur game with JavaScript. But now, thinking about it... do you have any ideas on how I can incorporate some programming or computer science concepts into it? It would help a lot.

-2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.