Skip to content
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
wants to merge 45 commits into
base: main
Choose a base branch
from
Open
Changes from 2 commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
d388e41
Add Hello World
JakeIV Oct 19, 2022
768b3ca
Improvement, helloWorld into its own class
Jonas-Oppong Oct 19, 2022
e60bca5
Change " to '
JakeIV Oct 19, 2022
a185da3
Update web/src/App.tsx
JakeIV Oct 19, 2022
9c7b319
Update web/src/App.tsx
JakeIV Oct 19, 2022
e4d02b9
Merge branch 'feature/JakeIV/snakeGameHW' of https://github.com/gdscp…
Jonas-Oppong Oct 19, 2022
492bf8e
Update web/src/App.tsx
Jonas-Oppong Oct 19, 2022
94e3f88
Update web/src/App.tsx
Jonas-Oppong Oct 19, 2022
627d83f
Update web/src/App.tsx
Jonas-Oppong Oct 19, 2022
47315b7
Update web/src/App.tsx
Jonas-Oppong Oct 19, 2022
83404cc
Update web/src/App.tsx
Jonas-Oppong Oct 19, 2022
725f79b
Merge branch 'main' into feature/JakeIV/snakeGameHW
Jonas-Oppong Oct 19, 2022
9189789
Created SnakeEngine.ts
IsaacAkin Oct 19, 2022
109a849
fixed linting
Jonas-Oppong Oct 19, 2022
79e644a
Merge branch 'feature/JakeIV/snakeGameHW' of https://github.com/gdscp…
IsaacAkin Oct 19, 2022
a1c0b5e
change
IsaacAkin Oct 19, 2022
19591d0
formatted
JakeIV Oct 19, 2022
f3d6c9b
Update App.tsx
IsaacAkin Oct 19, 2022
91fa84a
Added board and snake 🐍
mark-chit Oct 19, 2022
7f86b88
Update web/src/App.tsx
Jonas-Oppong Oct 19, 2022
bfe0ce8
Update App.tsx
mark-chit Oct 19, 2022
0dcea24
Update App.tsx
Jonas-Oppong Oct 24, 2022
f208694
Merge branch 'feature/JakeIV/snakeGameHW' of https://github.com/gdscp…
Jonas-Oppong Oct 26, 2022
4759ca5
Merge branch 'feature/JakeIV/snakeGameHW' of https://github.com/gdscp…
IsaacAkin Oct 26, 2022
bf209ee
Added controller
Jonas-Oppong Oct 26, 2022
b96bf82
Merge branch 'feature/JakeIV/snakeGameHW' of https://github.com/gdscp…
IsaacAkin Oct 26, 2022
59ce233
Snake Now moves
Jonas-Oppong Oct 26, 2022
de3ab61
Merge branch 'feature/JakeIV/snakeGameHW' of https://github.com/gdscp…
Jonas-Oppong Oct 26, 2022
af7bc53
Merge branch 'feature/JakeIV/snakeGameHW' of https://github.com/gdscp…
JakeIV Oct 26, 2022
1f25614
View prototype
Jonas-Oppong Nov 9, 2022
88a5863
prototype board code
Jonas-Oppong Nov 9, 2022
c94305c
V4
Jonas-Oppong Nov 9, 2022
cd80df1
AddToBoard
JakeIV Nov 9, 2022
16d5ca0
UpdateBoard
JakeIV Nov 9, 2022
37af233
Updated View
JakeIV Nov 9, 2022
1d3b96d
Main SudoCode
JakeIV Nov 9, 2022
daef122
Main Loop v1
JakeIV Nov 16, 2022
0548532
generates board every time it is viewed
JakeIV Nov 16, 2022
c2370ff
generation v2
Jonas-Oppong Nov 16, 2022
1154a3a
Error fix, with coords printed to console.
JakeIV Nov 19, 2022
6cd8d7f
Board Wrapping Added and console cleared in view
JakeIV Nov 23, 2022
e2f5afb
added new lines
JakeIV Nov 23, 2022
6d273b0
food
Jonas-Oppong Nov 30, 2022
ac4e0c5
Added Food
JakeIV Dec 7, 2022
4974d87
Added arrow key control
JakeIV Dec 7, 2022
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
6 changes: 6 additions & 0 deletions web/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ import './App.css';
import reactLogo from './assets/react.svg';
import IncrementButton from './IncrementButton';

function helloWorld(){
JakeIV marked this conversation as resolved.
Show resolved Hide resolved
console.log('Hello World')
JakeIV marked this conversation as resolved.
Show resolved Hide resolved
}

helloWorld()

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <semi> reported by reviewdog 🐶
Missing semicolon.

Suggested change
helloWorld()
helloWorld();


function App() {
return (
<div className='App'>
Expand Down