Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
8a3dfff
Add package.json
iamo0 Mar 27, 2024
6f179d5
Add .gitignore. Add Replit config and node_modules to .gitignore
iamo0 Mar 27, 2024
8b8af4e
Add Jest tests and configure them to work with env
iamo0 Mar 27, 2024
61a7669
Change Replit config
iamo0 Mar 27, 2024
f490746
Add functions and tests to detect whether two objects intersect
iamo0 Mar 27, 2024
323de64
Add objects vertical speed update function (first iteration)
iamo0 Mar 27, 2024
bbf54bb
Create separate module for mathematic functions
iamo0 Mar 27, 2024
05c9474
Add objects intersection test and method that returns coordinates of …
iamo0 Mar 28, 2024
a7c3242
Code style changes: appropriate getter name, less useless variables
iamo0 Mar 28, 2024
d220b9f
Minor stylistic changes
iamo0 Mar 28, 2024
efe9fab
Move src files into another folder
iamo0 Mar 28, 2024
576f2a9
Rename file with game objects logic
iamo0 Mar 28, 2024
4d87c04
Rename game-objects to objects
iamo0 Mar 28, 2024
51ebf47
Move objects update login to index.js
iamo0 Mar 28, 2024
1cc1bbc
Remove unused import
iamo0 Mar 28, 2024
e5541e4
Add new objects intersection types: within and contains
iamo0 Mar 28, 2024
f116549
Move objects update function back to object.js file from index
iamo0 Mar 28, 2024
5743128
Add scaffold methods for module that runs game event loop
iamo0 Mar 28, 2024
32a43e6
Add module that constructs uniqely wizards
iamo0 Mar 30, 2024
1458a69
Move objects logic to separate dir
iamo0 Mar 30, 2024
e982861
Change objects creation interface. Instead of creating objects from c…
iamo0 Mar 30, 2024
c9fa220
Fix error in method that gets object sprite
iamo0 Mar 30, 2024
0b84cb9
Add tests for sprite detection function for Wizard
iamo0 Mar 30, 2024
f904747
Add constructor function for wizard objects. Remove non-zero speed as…
iamo0 Mar 31, 2024
e285875
Remove all objects movement logic and parameters
iamo0 Mar 31, 2024
9f7f07d
Simplify interface of getWizardSprite function my making it dependent…
iamo0 Mar 31, 2024
18d4b52
Add basic movement update function for wizard (no collisions yet)
iamo0 Mar 31, 2024
4e69078
Add null-test for cases when wizard stays untoched if there're no con…
iamo0 Mar 31, 2024
8c53598
Simplify syntax of calculation of vertical movement
iamo0 Mar 31, 2024
3b01846
Code style changes
iamo0 Apr 7, 2024
556be5f
Add basic levels logic: base structure for level and function that ch…
iamo0 Apr 7, 2024
d764d67
Add a level on which user should shoot a fence with a fireball
iamo0 Apr 7, 2024
1da006c
Add multiple fireballs on level checks
iamo0 Apr 8, 2024
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 @@
node_modules/
.replit
5 changes: 4 additions & 1 deletion .replit
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
hidden=[".config"]
modules = ["web:v2-20230623-0b7a606"]
modules = ["nodejs-20:v8-20230920-bd784b9", "web:v2-20230623-0b7a606"]

[deployment]
publicDir = "/"



deploymentTarget = "static"
Loading