-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
defb60d
commit 102a9f8
Showing
11 changed files
with
164 additions
and
131 deletions.
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
.vscode |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
@import 'styles/variables'; | ||
|
||
$background-color: rgb(37, 153, 138); | ||
|
||
.PlayerBox { | ||
border: 2px solid black; | ||
background-color: $background-color; | ||
color: white; | ||
padding: 1rem; | ||
min-width: 10rem; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import React, { FC } from 'react' | ||
|
||
import './PlayerBox.scss' | ||
|
||
export interface PlayerProps { | ||
name: string | ||
isHost: boolean | ||
isSelf: boolean | ||
} | ||
|
||
const Player: FC<PlayerProps> = (props: PlayerProps) => { | ||
return ( | ||
<div className='PlayerBox'> | ||
<div> | ||
<h3>{props.name}</h3> | ||
</div> | ||
{props.isHost && <h4>Host</h4>} | ||
{props.isSelf && '(this is you)'} | ||
</div> | ||
) | ||
} | ||
|
||
export default Player |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export * from './PlayerBox' | ||
export { default } from './PlayerBox' |
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
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
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,7 +3,6 @@ | |
*.user | ||
*.userosscache | ||
*.sln.docstates | ||
.vscode | ||
|
||
# Build results | ||
[Dd]ebug/ | ||
|
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,50 @@ | ||
Ryu Hayabusa | ||
Dirk The Daring | ||
Donkey Kong | ||
The Horned Reaper | ||
Vault Boy | ||
Marcus Fenix | ||
Leon Kennedy | ||
HK-47 | ||
Sam & Max | ||
Pyramid Head | ||
Dr Fred Eddison | ||
Mr. X | ||
Dante | ||
Pac Man | ||
Big Daddy | ||
Prince of Persia | ||
Alucard | ||
The Announcer | ||
Miner Willy | ||
Kane | ||
Manny Cavalera | ||
Garrett | ||
Harman Smith | ||
Ryu | ||
Samus Aran | ||
Arthas Menethil | ||
Sabre Man | ||
Bowser | ||
Nathan Drake | ||
Agent 47 | ||
Duke Nukem | ||
Solid Snake | ||
American McGee's Alice | ||
Illidan Stormrage | ||
Brucie | ||
Kratos | ||
Sonic | ||
Cloud Strife | ||
GLaDOS | ||
Minsc & Boo | ||
Sephiroth | ||
The Lemmings | ||
Master Chief | ||
Guybrush Threepwood | ||
Link | ||
Lara Croft | ||
The Nameless One | ||
Shodan | ||
Mario | ||
Gordon Freeman |
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
Oops, something went wrong.