Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
bfae405
Create proposal
jsthompson16 Sep 29, 2019
3143a33
first commit
cemalemdar Oct 2, 2019
d181573
basic button
cemalemdar Oct 3, 2019
5c99e35
Added leaderboard and login
jsthompson16 Oct 5, 2019
b9190db
Merge branch 'server-related-stuff'
jsthompson16 Oct 6, 2019
80276d6
Add enemy pictures and retrieve random enemy logic
jsthompson16 Oct 7, 2019
b32c3f1
Added back button from leaderboard screen
jsthompson16 Oct 7, 2019
5480165
Hidden currentUsername
jsthompson16 Oct 7, 2019
286869e
Added UpdatePlayer functionality
jsthompson16 Oct 7, 2019
d131358
Consistent image sizes, slight server update
jsthompson16 Oct 7, 2019
6c35769
added enemy img and health bar
cemalemdar Oct 8, 2019
f508e5a
Smaller images
jsthompson16 Oct 8, 2019
230d19a
added pixi and stuff
cemalemdar Oct 8, 2019
62891f0
Merge branch 'master' into cem
jsthompson16 Oct 8, 2019
9e955e3
Fix leaderboard page switching
jsthompson16 Oct 9, 2019
2d13706
added health and damage functionalities, pair programmed with Alp Piskin
cemalemdar Oct 9, 2019
a4c63e0
Merge remote-tracking branch 'origin/cem' into cem
jsthompson16 Oct 9, 2019
d9ab189
Fix slight messup from merge
jsthompson16 Oct 9, 2019
e6be149
Leaderboard score registry
alppiskin Oct 10, 2019
66c9c9d
Load game state
alppiskin Oct 10, 2019
3d1f367
Properly load GameState
jsthompson16 Oct 10, 2019
6cfecc9
Load state with identifiers
alppiskin Oct 10, 2019
f23f400
some animations
cemalemdar Oct 10, 2019
ff06187
final animations
cemalemdar Oct 10, 2019
b87bef2
Final push
jsthompson16 Oct 10, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.idea
node_modules
59 changes: 11 additions & 48 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,51 +1,14 @@
# cs4241-FinalProject
Video Game Franchise Clicker
http://video-game-clicker.glitch.me

For your final project, you'll implement a course project that exhibits your mastery of the course materials.
Similar to A4, this project gives you an opportunity to be creative and to pursue individual research and learning.
Team Members: Jarod Thompson, Cem Alemdar, Alp Piskin

## General description
We created a clicker game where you play as Link from Legend of Zelda and you are defeating monsters from various
video game franchises. It has user login, a leaderboard based on saved user score, and the ability to load your progress
in the game as long as you remember your username and password. The game only saves your progress after you clear a level,
as seen in the upper left corner of the screen along with your current score and crit chance. We have pixi.js animations
such as a slash for the attack and the damage popping up for every hit, and various calculations for
both attack and critical hit upgrades.

Your project should consist of a complete Web application, exhibiting facets of the three main sections of the course material:

- Static Web page content and design. You should have a project that is accessible, easily navigable, and features significant content.
- Dynamic behavior implemented with JavaScript.
- Server-side programming *using Node.js*. Typically this will take the form of some sort of persistent data, authentication, and possibly server-side computation.

Additionally, you should incorporate features that you independently research, design, and implement for your project.

## Project ideation

Excellent projects serve someone/some group; for this assignment you need to define your users and stakeholders. I encourage you to identify projects that will have impact, either artistically, politically, or in terms of productivity. Consider creating something useful for a cause or hobby you care about.

## Logistics

### Team size
Students are encouraged to work in teams of 2-5 students for the project. This will allow you to build a good project without expending an excessive amount of effort. While I would expect a team of four or five students to produce a project with more features, I expect a every team's work to exhibit all of the required facets described above.

### Deliverables

__Proposal:__
Provide an outline of your project direction and the names of the team members.
The outline should have enough detail so that staff can determine if it meets the minimum expectations, or if it goes too far to be reasonable by the deadline.
This file must be named proposal.md so we can find it.
Submit a PR to turn it in by Monday, September 30th, before class

There are no other scheduled checkpoints for your project.
You must be done in time to present before the final project demo day (October 10th).

#### Turning in Your Outline / Project

**NOTE: code is due before the project presentation day due to the end of term / grading schedule constraints**
Submit a second PR on the final project repo to turn in your app and code.

Deploy your app, in the form of a webpage, to Glitch/Heroku/Digital Ocean or some other service.
Folks on the same team do not need to post the same webpage, but must instead clearly state who is on the team in their proposal.
(Staff will use the proposal to build the grading sheet.)

## Final Presentation

Presentations will occur during the final day of class.

## FAQs

- **Can I use XYZ framework?** You can use any web-based frameworks or tools available, but for your server programming you need to use node.js.
Jarod did all of the server interaction and some css, Cem did most of the css, pixi animations and some game calcs, Alp did
most of the various game functions such as the attack power and crit rate.
44 changes: 44 additions & 0 deletions db.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"users": [
{
"username": "jarod",
"password": "hello",
"gameState": {
"score": 7697,
"currency": 3017,
"PlayerObj": {
"attack": 535,
"crit": 5.261972627395668,
"level": 15
},
"EnemyObj": {
"health": 4262,
"filepath": "../img/met.png",
"tier": 1
},
"attackCost": 6250,
"critCost": 12500
}
},
{
"username": "cem",
"password": "hello",
"gameState": {
"score": 28,
"currency": 28,
"PlayerObj": {
"attack": 10,
"crit": 0,
"level": 2
},
"EnemyObj": {
"health": 158,
"filepath": "../img/bokoblin.png",
"tier": 1
},
"attackCost": 10,
"critCost": 20
}
}
]
}
Loading