-
Notifications
You must be signed in to change notification settings - Fork 606
27-1 Eugene Matthew's Blackjack project #492
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
Open
eugenematthewcheong
wants to merge
4
commits into
rocketacademy:main
Choose a base branch
from
eugenematthewcheong:main
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
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
e629786
Added functionality for the blackjack game and made some aesthetics c…
eugenematthewcheong 0f4e98b
Refactored main function to switch player and cpu instead of using if…
eugenematthewcheong 4a36df5
Further cleaning up of script
eugenematthewcheong 963fa9b
Shifted some messages to a function and refactored overall. Added log…
eugenematthewcheong 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 hidden or 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 |
|---|---|---|
|
|
@@ -22,20 +22,20 @@ | |
| <!-- sharing configuration --> | ||
| <!-- Primary Meta Tags --> | ||
| <title>Blackjack - Basics - Rocket Academy</title> | ||
| <meta name="title" content="YOURNAME's BlackJack Game!"> | ||
| <meta name="title" content="Eugene Matthew's BlackJack Game!"> | ||
| <meta name="description" content="A fun card game I made myself! 😄💪🌈"> | ||
|
|
||
| <!-- Open Graph / Facebook --> | ||
| <meta property="og:type" content="website"> | ||
| <meta property="og:url" content="https://rocketacademy.github.io/basics-blackjack/index.html"> | ||
| <meta property="og:title" content="YOURNAME's BlackJack Game!"> | ||
| <meta property="og:title" content="Eugene Matthew's BlackJack Game!"> | ||
| <meta property="og:description" content="A fun card game I made myself! 😄💪🌈"> | ||
| <meta property="og:image" content="https://ra-web-files.s3.ap-southeast-1.amazonaws.com/basics/basics-blackjack-share-small.jpeg"> | ||
|
|
||
| <!-- Twitter --> | ||
| <meta name="twitter:card" content="summary_large_image"> | ||
| <meta name="twitter:url" content="https://rocketacademy.github.io/basics-blackjack/index.html"> | ||
| <meta name="twitter:title" content="YOURNAME's BlackJack Game!"> | ||
| <meta name="twitter:title" content="Eugene Matthew's BlackJack Game!"> | ||
| <meta name="twitter:description" content="A fun card game I made myself! 😄💪🌈"> | ||
| <meta name="twitter:image" content="https://ra-web-files.s3.ap-southeast-1.amazonaws.com/basics/basics-blackjack-share-small.jpeg"> | ||
| <meta name="twitter:site" content="@rocketacademyco"> | ||
|
|
@@ -54,7 +54,7 @@ | |
| font-family: 'Open Sans', sans-serif; | ||
| margin-left: 30px; | ||
| margin-right: 30px; | ||
| background-color:white; | ||
| background-color:#FCB772; | ||
| color: black; /* sets the font color */ | ||
| background-image: url(""); /* The image used */ | ||
| background-position: center; /* Center the image */ | ||
|
|
@@ -74,7 +74,7 @@ | |
| } | ||
|
|
||
| #container { | ||
| background-color: pink; | ||
| background-color: #FC8672; | ||
| margin: 40px auto; | ||
| max-width: 800px; | ||
| padding: 38px 31px; | ||
|
|
@@ -96,10 +96,11 @@ | |
| } | ||
|
|
||
| #output-div { | ||
| background-color: lightgrey; | ||
| background-color: #FCCB72; | ||
| margin: 20px auto; | ||
| padding: 20px; | ||
| width: 100%; | ||
| height: 100%; | ||
| } | ||
|
|
||
| .logo-img { | ||
|
|
@@ -124,15 +125,16 @@ <h1 class="header"> | |
| Rocket Academy | ||
| <img class="logo-img" src="https://firebasestorage.googleapis.com/v0/b/ftbc11-sample.appspot.com/o/images%2F1-PRIMARY_CRIMSON.png?alt=media&token=ce9e8333-2a45-44be-adb2-1f1bf054adf7" /> | ||
| </h1> | ||
| <h1 class="header">♣️ Basics - Blackjack ♠️</h1> | ||
| <h1 class="header">Eugene Matthew<br>♣️♠️♦️♥️ Game of Blackjack ♣️♠️♦️♥️</h1> | ||
| <div id="container"> | ||
| <p>Input:</p> | ||
| <input id="input-field" /> | ||
| <br /> | ||
| <button id="submit-button">Submit</button> | ||
| <p>Output:</p> | ||
| <div id="output-div"></div> | ||
| </div> | ||
| <div id="output-div"> | ||
|
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. good job creating this default message to get your game going! |
||
| Welcome to Eugene Matthew's Cards! <br>Click the 'Submit' button to get started! | ||
| </div> | ||
| <!-- Import program logic --> | ||
| <script src="script.js"></script> | ||
| <!-- Define button click functionality --> | ||
|
|
||
Oops, something went wrong.
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.
good effort on trying to change bits and piece of HTML and CSS