-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Hello World #36
Open
JakeIV
wants to merge
45
commits into
main
Choose a base branch
from
feature/JakeIV/snakeGameHW
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Add Hello World #36
Changes from 10 commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
d388e41
Add Hello World
JakeIV 768b3ca
Improvement, helloWorld into its own class
Jonas-Oppong e60bca5
Change " to '
JakeIV a185da3
Update web/src/App.tsx
JakeIV 9c7b319
Update web/src/App.tsx
JakeIV e4d02b9
Merge branch 'feature/JakeIV/snakeGameHW' of https://github.com/gdscp…
Jonas-Oppong 492bf8e
Update web/src/App.tsx
Jonas-Oppong 94e3f88
Update web/src/App.tsx
Jonas-Oppong 627d83f
Update web/src/App.tsx
Jonas-Oppong 47315b7
Update web/src/App.tsx
Jonas-Oppong 83404cc
Update web/src/App.tsx
Jonas-Oppong 725f79b
Merge branch 'main' into feature/JakeIV/snakeGameHW
Jonas-Oppong 9189789
Created SnakeEngine.ts
IsaacAkin 109a849
fixed linting
Jonas-Oppong 79e644a
Merge branch 'feature/JakeIV/snakeGameHW' of https://github.com/gdscp…
IsaacAkin a1c0b5e
change
IsaacAkin 19591d0
formatted
JakeIV f3d6c9b
Update App.tsx
IsaacAkin 91fa84a
Added board and snake 🐍
mark-chit 7f86b88
Update web/src/App.tsx
Jonas-Oppong bfe0ce8
Update App.tsx
mark-chit 0dcea24
Update App.tsx
Jonas-Oppong f208694
Merge branch 'feature/JakeIV/snakeGameHW' of https://github.com/gdscp…
Jonas-Oppong 4759ca5
Merge branch 'feature/JakeIV/snakeGameHW' of https://github.com/gdscp…
IsaacAkin bf209ee
Added controller
Jonas-Oppong b96bf82
Merge branch 'feature/JakeIV/snakeGameHW' of https://github.com/gdscp…
IsaacAkin 59ce233
Snake Now moves
Jonas-Oppong de3ab61
Merge branch 'feature/JakeIV/snakeGameHW' of https://github.com/gdscp…
Jonas-Oppong af7bc53
Merge branch 'feature/JakeIV/snakeGameHW' of https://github.com/gdscp…
JakeIV 1f25614
View prototype
Jonas-Oppong 88a5863
prototype board code
Jonas-Oppong c94305c
V4
Jonas-Oppong cd80df1
AddToBoard
JakeIV 16d5ca0
UpdateBoard
JakeIV 37af233
Updated View
JakeIV 1d3b96d
Main SudoCode
JakeIV daef122
Main Loop v1
JakeIV 0548532
generates board every time it is viewed
JakeIV c2370ff
generation v2
Jonas-Oppong 1154a3a
Error fix, with coords printed to console.
JakeIV 6cd8d7f
Board Wrapping Added and console cleared in view
JakeIV e2f5afb
added new lines
JakeIV 6d273b0
food
Jonas-Oppong ac4e0c5
Added Food
JakeIV 4974d87
Added arrow key control
JakeIV File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,15 @@ import './App.css'; | |
import reactLogo from './assets/react.svg'; | ||
import IncrementButton from './IncrementButton'; | ||
|
||
class SnakeEngine { | ||
|
||
static helloWorld() { | ||
console.log('Hello World') | ||
Jonas-Oppong marked this conversation as resolved.
Show resolved
Hide resolved
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
} | ||
} | ||
SnakeEngine.helloWorld(); | ||
|
||
|
||
function App() { | ||
return ( | ||
<div className='App'> | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <padded-blocks> reported by reviewdog 🐶
Block must not be padded by blank lines.