From 24e3f91c16a4e49e59123eac5abaa2cd04c76333 Mon Sep 17 00:00:00 2001 From: Yavuz Ugurtas Date: Fri, 20 Sep 2019 07:01:17 +0200 Subject: [PATCH 01/16] week1-yavuz's project Tictactoe project --- .../1-head-and-header/index.html | 76 +++++++++++++ .../1-head-and-header/style.css | 41 +++++++ homework/week-1-project/2-Rules/index.html | 81 ++++++++++++++ homework/week-1-project/2-Rules/style.css | 45 ++++++++ .../2-rules-of-the-game/index.html | 0 .../2-rules-of-the-game/style.css | 0 .../week-1-project/3-How-to-play/index.html | 43 ++++++++ .../week-1-project/3-How-to-play/style.css | 44 ++++++++ .../3-unplayable-board/index.html | 0 .../3-unplayable-board/style.css | 0 .../4-playable-board/index.html | 0 .../week-1-project/4-playable-board/style.css | 0 .../4-unplayable-board/index.html | 104 ++++++++++++++++++ .../4-unplayable-board/style.css | 50 +++++++++ .../5-playable-board/index.html | 104 ++++++++++++++++++ .../week-1-project/5-playable-board/style.css | 52 +++++++++ .../week-1-project/5-up-to-you/index.html | 0 homework/week-1-project/5-up-to-you/style.css | 0 homework/week-1-project/README.md | 59 ++++++++-- homework/week-1-project/index.html | 68 ------------ 20 files changed, 687 insertions(+), 80 deletions(-) create mode 100644 homework/week-1-project/2-Rules/index.html create mode 100644 homework/week-1-project/2-Rules/style.css delete mode 100644 homework/week-1-project/2-rules-of-the-game/index.html delete mode 100644 homework/week-1-project/2-rules-of-the-game/style.css create mode 100644 homework/week-1-project/3-How-to-play/index.html create mode 100644 homework/week-1-project/3-How-to-play/style.css delete mode 100644 homework/week-1-project/3-unplayable-board/index.html delete mode 100644 homework/week-1-project/3-unplayable-board/style.css delete mode 100644 homework/week-1-project/4-playable-board/index.html delete mode 100644 homework/week-1-project/4-playable-board/style.css create mode 100644 homework/week-1-project/4-unplayable-board/index.html create mode 100644 homework/week-1-project/4-unplayable-board/style.css create mode 100644 homework/week-1-project/5-playable-board/index.html create mode 100644 homework/week-1-project/5-playable-board/style.css delete mode 100644 homework/week-1-project/5-up-to-you/index.html delete mode 100644 homework/week-1-project/5-up-to-you/style.css delete mode 100644 homework/week-1-project/index.html diff --git a/homework/week-1-project/1-head-and-header/index.html b/homework/week-1-project/1-head-and-header/index.html index e69de29..0dbebba 100644 --- a/homework/week-1-project/1-head-and-header/index.html +++ b/homework/week-1-project/1-head-and-header/index.html @@ -0,0 +1,76 @@ + + + + + + + + + + + + + + +
+ Tic Tac Toe +
+ +
+ +

+ If tic-tac-toe were as simple as it seems,
+ why has it been around for over 3,000 years? +

+ + + + + This classic game contributes to children’s developmental growth in numerous ways + including their understanding of predictability, problem solving, spatial reasoning, + hand-eye coordination, turn taking, and strategizing. Tic-tac-toe is a simple, + two-player game which, if played optimally by both players, will always result in a tie. + + The game is also called noughts and crosses or Xs and Os. Tic-tac-toe is a game that is + traditionally played by being drawn on paper, and it can be played on a computer or + on a variety of media. + +

+ History +

+ + Games played on three-in-a-row boards can be traced back to ancient Egypt, + where such game boards have been found on roofing tiles dating from around + 1300 BCE. An early variation of tic-tac-toe was played in the Roman Empire, + around the first century BC. It was called terni lapilli (three pebbles at a time) + and instead of having any number of pieces, each player only had three, thus they + had to move them around to empty spaces to keep playing. The game's grid markings + have been found chalked all over Rome. Another closely related ancient game is three + men's morris which is also played on a simple grid and requires three pieces in a + row to finish,[8] and Picaria, a game of the Puebloans.The different names of the + game are more recent. The first print reference to "noughts and crosses" + (nought being an alternative word for zero), the British name, appeared in 1858, + in an issue of Notes and Queries. The first print reference to a game called + "tick-tack-toe" occurred in 1884, but referred to "a children's game played + on a slate, consisting in trying with the eyes shut to bring the pencil down + on one of the numbers of a set, the number hit being scored". "Tic-tac-toe" + may also derive from "tick-tack", the name of an old version of backgammon + first described in 1558. The US renaming of "noughts and crosses" as "tic-tac-toe" + occurred in the 20th century. + The computer player could play perfect games of tic-tac-toe against a human opponent. + + +
+ + + + + + + + + + + \ No newline at end of file diff --git a/homework/week-1-project/1-head-and-header/style.css b/homework/week-1-project/1-head-and-header/style.css index e69de29..dd20694 100644 --- a/homework/week-1-project/1-head-and-header/style.css +++ b/homework/week-1-project/1-head-and-header/style.css @@ -0,0 +1,41 @@ + +body { + background-image: url("https://assets.freeprintable.com/images/item/original/tic-tac-toe.jpg") +} + +header { + color: rgb(255, 255, 255); + text-shadow: 2px 5px 20px #000000; + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; + font-size: 60px; + text-align: center; + background-color: rgb(255, 255, 255); + + + +} + +h2, h3 { + font-size: 24px; + color: midnightblue; + text-align: center; + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; + text-shadow: 1px 1px 1px #6e6e6e; + +} + +h3 { + font-size: 20px; + text-align: left; +} + +div { + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; + padding: 8px; + border: 8px groove rgb(255, 255, 255); + text-shadow: 2px 2px 2px #35353585; + padding-bottom: 30px; + background-color: rgb(255, 255, 255); + font-size: 18px; +} + diff --git a/homework/week-1-project/2-Rules/index.html b/homework/week-1-project/2-Rules/index.html new file mode 100644 index 0000000..fbe03ac --- /dev/null +++ b/homework/week-1-project/2-Rules/index.html @@ -0,0 +1,81 @@ + + + + + + + + + + + + + + +
+ Tic Tac Toe +
+ +
+ +

+ If tic-tac-toe were as simple as it seems,
+ why has it been around for over 3,000 years? +

+ + + + + This classic game contributes to children’s developmental growth in numerous ways + including their understanding of predictability, problem solving, spatial reasoning, + hand-eye coordination, turn taking, and strategizing. Tic-tac-toe is a simple, + two-player game which, if played optimally by both players, will always result in a tie. + + The game is also called noughts and crosses or Xs and Os. Tic-tac-toe is a game that is + traditionally played by being drawn on paper, and it can be played on a computer or + on a variety of media. + +

+ History +

+ + Games played on three-in-a-row boards can be traced back to ancient Egypt, + where such game boards have been found on roofing tiles dating from around + 1300 BCE. An early variation of tic-tac-toe was played in the Roman Empire, + around the first century BC. It was called terni lapilli (three pebbles at a time) + and instead of having any number of pieces, each player only had three, thus they + had to move them around to empty spaces to keep playing. The game's grid markings + have been found chalked all over Rome. Another closely related ancient game is three + men's morris which is also played on a simple grid and requires three pieces in a + row to finish,[8] and Picaria, a game of the Puebloans.The different names of the + game are more recent. The first print reference to "noughts and crosses" + (nought being an alternative word for zero), the British name, appeared in 1858, + in an issue of Notes and Queries. The first print reference to a game called + "tick-tack-toe" occurred in 1884, but referred to "a children's game played + on a slate, consisting in trying with the eyes shut to bring the pencil down + on one of the numbers of a set, the number hit being scored". "Tic-tac-toe" + may also derive from "tick-tack", the name of an old version of backgammon + first described in 1558. The US renaming of "noughts and crosses" as "tic-tac-toe" + occurred in the 20th century. + The computer player could play perfect games of tic-tac-toe against a human opponent. + + + + +
+ + + + + + + + + + + \ No newline at end of file diff --git a/homework/week-1-project/2-Rules/style.css b/homework/week-1-project/2-Rules/style.css new file mode 100644 index 0000000..1bf8660 --- /dev/null +++ b/homework/week-1-project/2-Rules/style.css @@ -0,0 +1,45 @@ + +body { + background-image: url("https://assets.freeprintable.com/images/item/original/tic-tac-toe.jpg") +} + +header { + color: rgb(255, 255, 255); + text-shadow: 2px 5px 20px #000000; + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; + font-size: 60px; + text-align: center; + background-color: rgb(255, 255, 255); + + + +} + +h2, h3 { + font-size: 24px; + color: midnightblue; + text-align: center; + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; + text-shadow: 1px 1px 1px #6e6e6e; + +} + +h3 { + font-size: 20px; + text-align: left; +} + +div { + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; + padding: 8px; + border: 8px groove rgb(255, 255, 255); + text-shadow: 2px 2px 2px #35353585; + padding-bottom: 30px; + background-color: rgb(255, 255, 255); + font-size: 18px; +} +a:link { + color: midnightblue; + background-color: transparent; + text-decoration: none; + } diff --git a/homework/week-1-project/2-rules-of-the-game/index.html b/homework/week-1-project/2-rules-of-the-game/index.html deleted file mode 100644 index e69de29..0000000 diff --git a/homework/week-1-project/2-rules-of-the-game/style.css b/homework/week-1-project/2-rules-of-the-game/style.css deleted file mode 100644 index e69de29..0000000 diff --git a/homework/week-1-project/3-How-to-play/index.html b/homework/week-1-project/3-How-to-play/index.html new file mode 100644 index 0000000..8b4031e --- /dev/null +++ b/homework/week-1-project/3-How-to-play/index.html @@ -0,0 +1,43 @@ + + + + + + + + + + + +
+ Rules of the game +
+ + + +
+ + The game is played on a grid that's 3 squares by 3 squares. You are X, + your friend (or the computer in this case) is O. Players take turns putting + their marks in empty squares. The first player to get 3 of her marks in a row + (up, down, across, or diagonally) is the winner. When all 9 squares are full, + the game is over. If no player has 3 marks in a row, the game ends in a tie. + +
+ + + +
+
+ + + + + + diff --git a/homework/week-1-project/3-How-to-play/style.css b/homework/week-1-project/3-How-to-play/style.css new file mode 100644 index 0000000..f9b2372 --- /dev/null +++ b/homework/week-1-project/3-How-to-play/style.css @@ -0,0 +1,44 @@ +body { + background-image: url("https://assets.freeprintable.com/images/item/original/tic-tac-toe.jpg") +} + +header { + color: rgb(255, 255, 255); + text-shadow: 2px 5px 20px #000000; + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; + font-size: 60px; + text-align: center; + background-color: rgb(255, 255, 255); + +} + +div { + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; + padding: 8px; + border: 8px groove rgb(255, 255, 255); + text-shadow: 2px 2px 2px #35353585; + padding-bottom: 30px; + background-color: rgb(255, 255, 255); + font-size: 18px; + +} + + h3 { + + color: midnightblue; + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; + text-shadow: 1px 1px 1px #6e6e6e; + font-size: 20px; + text-align: left; + +} + +article {text-align: center +} +a:link { + color: midnightblue; + background-color: transparent; + text-decoration: none; + } + + diff --git a/homework/week-1-project/3-unplayable-board/index.html b/homework/week-1-project/3-unplayable-board/index.html deleted file mode 100644 index e69de29..0000000 diff --git a/homework/week-1-project/3-unplayable-board/style.css b/homework/week-1-project/3-unplayable-board/style.css deleted file mode 100644 index e69de29..0000000 diff --git a/homework/week-1-project/4-playable-board/index.html b/homework/week-1-project/4-playable-board/index.html deleted file mode 100644 index e69de29..0000000 diff --git a/homework/week-1-project/4-playable-board/style.css b/homework/week-1-project/4-playable-board/style.css deleted file mode 100644 index e69de29..0000000 diff --git a/homework/week-1-project/4-unplayable-board/index.html b/homework/week-1-project/4-unplayable-board/index.html new file mode 100644 index 0000000..2b39079 --- /dev/null +++ b/homework/week-1-project/4-unplayable-board/index.html @@ -0,0 +1,104 @@ + + + + + + + + + + + + + + +
+ Tic Tac Toe +
+ +
+ +

+ If tic-tac-toe were as simple as it seems,
+ why has it been around for over 3,000 years? +

+ + + + + This classic game contributes to children’s developmental growth in numerous ways + including their understanding of predictability, problem solving, spatial reasoning, + hand-eye coordination, turn taking, and strategizing. Tic-tac-toe is a simple, + two-player game which, if played optimally by both players, will always result in a tie. + + The game is also called noughts and crosses or Xs and Os. Tic-tac-toe is a game that is + traditionally played by being drawn on paper, and it can be played on a computer or + on a variety of media. + +

+ History +

+ + Games played on three-in-a-row boards can be traced back to ancient Egypt, + where such game boards have been found on roofing tiles dating from around + 1300 BCE. An early variation of tic-tac-toe was played in the Roman Empire, + around the first century BC. It was called terni lapilli (three pebbles at a time) + and instead of having any number of pieces, each player only had three, thus they + had to move them around to empty spaces to keep playing. The game's grid markings + have been found chalked all over Rome. Another closely related ancient game is three + men's morris which is also played on a simple grid and requires three pieces in a + row to finish,[8] and Picaria, a game of the Puebloans.The different names of the + game are more recent. The first print reference to "noughts and crosses" + (nought being an alternative word for zero), the British name, appeared in 1858, + in an issue of Notes and Queries. The first print reference to a game called + "tick-tack-toe" occurred in 1884, but referred to "a children's game played + on a slate, consisting in trying with the eyes shut to bring the pencil down + on one of the numbers of a set, the number hit being scored". "Tic-tac-toe" + may also derive from "tick-tack", the name of an old version of backgammon + first described in 1558. The US renaming of "noughts and crosses" as "tic-tac-toe" + occurred in the 20th century. + The computer player could play perfect games of tic-tac-toe against a human opponent. + +

+ Example Board +

+ + + + + + + + + + + + + + + + +
+ + +
+ + + + + + + + + + + \ No newline at end of file diff --git a/homework/week-1-project/4-unplayable-board/style.css b/homework/week-1-project/4-unplayable-board/style.css new file mode 100644 index 0000000..ba895c2 --- /dev/null +++ b/homework/week-1-project/4-unplayable-board/style.css @@ -0,0 +1,50 @@ + +body { + background-image: url("https://assets.freeprintable.com/images/item/original/tic-tac-toe.jpg") +} + +header { + color: rgb(255, 255, 255); + text-shadow: 2px 5px 20px #000000; + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; + font-size: 60px; + text-align: center; + background-color: rgb(255, 255, 255); + + + +} + +h2, h3 { + font-size: 24px; + color: midnightblue; + text-align: center; + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; + text-shadow: 1px 1px 1px #6e6e6e; + +} + +h3 { + font-size: 20px; + text-align: left; +} + +div { + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; + padding: 8px; + border: 8px groove rgb(255, 255, 255); + text-shadow: 2px 2px 2px #35353585; + padding-bottom: 30px; + background-color: rgb(255, 255, 255); + font-size: 18px; +} +a:link { + color: midnightblue; + background-color: transparent; + text-decoration: none; + } + td { + border: 11px groove midnightblue; + height: 150px; + width: 150px; + } \ No newline at end of file diff --git a/homework/week-1-project/5-playable-board/index.html b/homework/week-1-project/5-playable-board/index.html new file mode 100644 index 0000000..dcd1a5b --- /dev/null +++ b/homework/week-1-project/5-playable-board/index.html @@ -0,0 +1,104 @@ + + + + + + + + + + + + + + +
+ Tic Tac Toe +
+ +
+ +

+ If tic-tac-toe were as simple as it seems,
+ why has it been around for over 3,000 years? +

+ + + + + This classic game contributes to children’s developmental growth in numerous ways + including their understanding of predictability, problem solving, spatial reasoning, + hand-eye coordination, turn taking, and strategizing. Tic-tac-toe is a simple, + two-player game which, if played optimally by both players, will always result in a tie. + + The game is also called noughts and crosses or Xs and Os. Tic-tac-toe is a game that is + traditionally played by being drawn on paper, and it can be played on a computer or + on a variety of media. + +

+ History +

+ + Games played on three-in-a-row boards can be traced back to ancient Egypt, + where such game boards have been found on roofing tiles dating from around + 1300 BCE. An early variation of tic-tac-toe was played in the Roman Empire, + around the first century BC. It was called terni lapilli (three pebbles at a time) + and instead of having any number of pieces, each player only had three, thus they + had to move them around to empty spaces to keep playing. The game's grid markings + have been found chalked all over Rome. Another closely related ancient game is three + men's morris which is also played on a simple grid and requires three pieces in a + row to finish,[8] and Picaria, a game of the Puebloans.The different names of the + game are more recent. The first print reference to "noughts and crosses" + (nought being an alternative word for zero), the British name, appeared in 1858, + in an issue of Notes and Queries. The first print reference to a game called + "tick-tack-toe" occurred in 1884, but referred to "a children's game played + on a slate, consisting in trying with the eyes shut to bring the pencil down + on one of the numbers of a set, the number hit being scored". "Tic-tac-toe" + may also derive from "tick-tack", the name of an old version of backgammon + first described in 1558. The US renaming of "noughts and crosses" as "tic-tac-toe" + occurred in the 20th century. + The computer player could play perfect games of tic-tac-toe against a human opponent. + +

+ Example Board +

+ + + + + + + + + + + + + + + + +
XXO
XOX
OXX
+ + +
+ + + + + + + + + + + \ No newline at end of file diff --git a/homework/week-1-project/5-playable-board/style.css b/homework/week-1-project/5-playable-board/style.css new file mode 100644 index 0000000..bf57db4 --- /dev/null +++ b/homework/week-1-project/5-playable-board/style.css @@ -0,0 +1,52 @@ + +body { + background-image: url("https://assets.freeprintable.com/images/item/original/tic-tac-toe.jpg") +} + +header { + color: rgb(255, 255, 255); + text-shadow: 2px 5px 20px #000000; + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; + font-size: 60px; + text-align: center; + background-color: rgb(255, 255, 255); + + + +} + +h2, h3 { + font-size: 24px; + color: midnightblue; + text-align: center; + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; + text-shadow: 1px 1px 1px #6e6e6e; + +} + +h3 { + font-size: 20px; + text-align: left; +} + +div { + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; + padding: 8px; + border: 8px groove rgb(255, 255, 255); + text-shadow: 2px 2px 2px #35353585; + padding-bottom: 30px; + background-color: rgb(255, 255, 255); + font-size: 18px; +} +a:link { + color: midnightblue; + background-color: transparent; + text-decoration: none; + } + td { + border: 11px groove midnightblue; + height: 150px; + width: 150px; + font-size: 110px; + text-align: center; + } \ No newline at end of file diff --git a/homework/week-1-project/5-up-to-you/index.html b/homework/week-1-project/5-up-to-you/index.html deleted file mode 100644 index e69de29..0000000 diff --git a/homework/week-1-project/5-up-to-you/style.css b/homework/week-1-project/5-up-to-you/style.css deleted file mode 100644 index e69de29..0000000 diff --git a/homework/week-1-project/README.md b/homework/week-1-project/README.md index 5ebb51b..4923602 100644 --- a/homework/week-1-project/README.md +++ b/homework/week-1-project/README.md @@ -1,16 +1,51 @@ -## Week 1 Project +## Week 1 Project - Yavuz Ugurtas -To complete this week's project (a simple, interactive tic-tac-toe board) you'll need to code each user story described [in this user story table](https://be-hacking-hyf.github.io/HTML-CSS-GitHub/homework/week-1-project/). You will start by forking [this repository](https://github.com/be-hacking-hyf/HTML-CSS-GitHub), cloning it to your computer, and writing the HTML and CSS for each folder. For more information on what is expected from the project you can read about weekly projects [right here](https://github.com/be-hacking-hyf/html-css-github/#weekly-projects). + + + -But wait! It's not enough to have a tic-tac-toe board that workss It's even more important that you understand how this tic-tac-toe board can be broken into small steps and developed incrementally. To show us that you are mastering this skill you will be required to save each step of your progress in a different folder, as a fully-working (but incomplete) web site. Each step will use the previous one as a starting point. +

+ I have tried to build a non-interactive TicTacToe board. +

+ -Take a look at the completed example to get an idea of what a finished project looks like, notice that each folder has code in it and each row in the table links to a working web page: -* [it's source code](https://github.com/be-hacking-hyf/HTML-CSS-GitHub/tree/master/study-code/example-project-feedback-form) -* [the live example](https://be-hacking-hyf.github.io/HTML-CSS-GitHub/study-code/example-project-feedback-form/) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
StagesContextMy notes
Blank Page empty HTML template and CSS fileI did not understand what kind of role it has
Head and Headertitle, main div, header, description I've tried my best
Rules of the game a section describing the rules of TicTactoeAdded extra tutorial
Example (Unplayable) Board empty 3x3 TicTacToe board The best Tic Tac Toe board in the world
"O" Wins!There are Xs and OsI've just filled in the blanks. Couldn't figure it out how to create the game itself
+ - -When you've written your code for each folder, tested the table and each page on your computer, have pushed your work to your github account, _and_ turned on GitHub pages, you're ready to turn in your homework! You can find instructions for homework submission [right here](https://github.com/be-hacking-hyf/html-css-github/wiki/Homework-Submission). - ---- ---- -### Hack Your Future: Belgium + \ No newline at end of file diff --git a/homework/week-1-project/index.html b/homework/week-1-project/index.html deleted file mode 100644 index 9c9b00b..0000000 --- a/homework/week-1-project/index.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - - - - HTML/CSS Week 21Project Table - - - - -

Human-Intelligence TicTacToe

-

- Build a non-interactive (but responsive!) TicTacToe board. The board should get bigger and smaller as the screen - changes sizes, and users should be able to mark each box with an X or an O -

-

- - Be sure to use HTML5 - Semantic Elements whenever possible! - -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
a user can ...HTMLCSS
... open a website empty HTML template, requiring CSS fileempty CSS file
... know what the site is abouttitle, main div, header, descriptionstyle for body, main and title
... read the rules for TicTacToea section describing the rules of TicTactoestyle the rules so they are not visible until a user wants to see them
... see a boarda 3x3 TicTacToe board (there's more than one way to do this!)style the board!
... mark the squares of the boardup to you!up to you!
... (what can the user do?)up to you!up to you!
- - - From 05372586a7b05ee2b1d7ef66099080d2728b4930 Mon Sep 17 00:00:00 2001 From: Yavuz Ugurtas Date: Fri, 20 Sep 2019 07:13:29 +0200 Subject: [PATCH 02/16] update test --- homework/week-1-project/README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/homework/week-1-project/README.md b/homework/week-1-project/README.md index 4923602..79b1100 100644 --- a/homework/week-1-project/README.md +++ b/homework/week-1-project/README.md @@ -8,7 +8,6 @@ I have tried to build a non-interactive TicTacToe board.

- From 873987d97ff75171138fcecda00d32f75cd20371 Mon Sep 17 00:00:00 2001 From: Yavuz Ugurtas Date: Fri, 20 Sep 2019 07:18:07 +0200 Subject: [PATCH 03/16] update 2 test 2 --- README.md | 134 ++++++++++++++++++++---------------------------------- 1 file changed, 50 insertions(+), 84 deletions(-) diff --git a/README.md b/README.md index 3a2d9de..79b1100 100644 --- a/README.md +++ b/README.md @@ -1,84 +1,50 @@ -

HackYourFuture Belgium

- -
- - - -
- -# Getting started - -> Welcome to your first training at HYF. Please read completely this file and make sure you understand everything. -Happy learning 😁 - -This repo contains all the materials for the module 1: `HTML, CSS`. The homework, exercises, and study code are in the main repository for you to fork and complete, all the lesson plans and weekly information are [in the wiki](https://github.com/be-hacking-hyf/HTML-CSS-GitHub/wiki) and the slides from class are [right here](https://be-hacking-hyf.github.io/HTML-CSS-GitHub/slides/). - -While this module is called "HTML & CSS", it's important to remember that you also need to learn how to Fork & Pull Request on GitHub, to Push and Pull your work between GitHub and your computer, and to develop locally on your computer using a browser+DevTools and a specialized text editor. - -In the first weeks it's very likely that you'll spend as much time figuring out how to publish and turn in your projects as you will spend building them. _This is totally normal and OK!_ Working like a developer takes time and practice to get good at, and at this point in your learning it's even more important than mastering HTML & CSS! - -So on days when you find yourself spending a couple hours trying to push your homework or send a PR for your coach to look over your homework, remind yourself that it's all time well spent. Mastering these skills _now_ will free your time _later_ to focus on studying the more interesting and challenging skills in this course. - -### Your mission - -- Prepare each class by reading the [wiki](https://github.com/be-hacking-hyf/HTML-CSS-GitHub/wiki) preparation work called [Prep Work (for week 1)](https://github.com/be-hacking-hyf/HTML-CSS-GitHub/wiki/Prep-Work-wk-1) -- During class, be focus, ask questions as much as you can, help your teammates when they are struggling. - ---- - -## It's not finished... yet! - -If only four hours a week were enough to learn web development! But sadly it's not :( Along side coming to class, you will have homework assignments. - -There are three types of homework: -* [__Weekly Projects__](#weekly-projects): The goal of these projects is for you to practice integrating all of your skills into one live web site. These assignments are due each Thursday. -* [__Module Exercises__](#module-exercises): The module exercises are a chance for you to focus in on some of the trickier or more important new skills without having to think about an entire project. These exercises are due at the end of the module with the third week's project. -* [__Suggested Study__](#suggested-study): The goal of Suggested Studies is to help you review old skills and prepare for new ones by providing you with small exercises that don't always result in a finished product but are always worth your time. If you ever find yourself with some time to study but not enough to dig into the Projects or Exercises, Suggested Studies are there for you! We won't be checking that you do these exercises, but you'll feel it later on if you don't :) - -### Weekly Projects - -Each week you will be required to complete a small project that integrates everything you've learned so far (HTML, CSS, GitHub, working locally, incremental development). The goal of these projects is to practice planning and building projects in a methodical and structured way, and to write the cleanest and most correct code possible. The goal of these projects _is not_ to build the fanciest most beautiful website, to use all the latest CSS tricks, or to use cool libraries and API's. - -Here's a short list of do's and don't's that can help you stay on track: - -__DO__ -* ... use only plain HTML & CSS (no CSS frameworks like Bootstrap or Material!) -* ... completely finish one step of the project before moving on to the next -* ... be very careful about your CSS classes, selectors and id's -* ... Properly indent your code -* ... find the simplest solution to each step of the project -* ... start each step of the project by copy-pasting the last step - -__Don't__ -* ... think that your site can be pretty enough to make up for messy code -* ... use any CSS libraries or frameworks -* ... make the any steps of your project do less _or more_ than is assigned -* ... move on to the next step before the previous one is finished -* ... include any JavaScript - -Take a look at the completed example to study to get an idea what's expected of you: -* [the live example](https://be-hacking-hyf.github.io/HTML-CSS-GitHub/study-code/example-project-feedback-form/) -* [it's source code](https://github.com/be-hacking-hyf/HTML-CSS-GitHub/tree/master/study-code/example-project-feedback-form). - -You can also preview the assignments here: -1. [human-intelligence TicTacToe board](./homework/week-1-project) -1. [responsive Web Designer site](./homework/week-3-project) -1. [replicate DuckDuckGo](./homework/week-3-project) - -### Module Exercises - -Along side Sunday classes and weekly projects which focus on integrating your skills, you'll be expected to complete a set of exercises to focus in and practice certain skills in isolation. While the project teaches how to integrate your skills, the exercises will focus on strengthening individual skills. This module's exercises can be found [in the exercise folder](./homework/module-exercises). - -Exercises are all due at the end of the Module, we won't be checking your exercises each week (unless you have some questions of course!). We also won't accept any homework for JavaScript 1 until you have submitted your exercises from HTML & CSS. - -So be organized about this! It's a lot easier to finish these exercises if you study them an hour a day than if you cram it all into the last weekend, and you'll learn a whole lot more along the way. - - -### Suggested Study - -You can find our study suggestions in each week's ```Homework``` page from the wiki. - - ---- ---- -### Hack Your Future: Belgium +## Week 1 Project - Yavuz Ugurtas + + + + + +

+ I have tried to build a non-interactive TicTacToe board. +

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
StagesContextMy notes
Blank Page empty HTML template and CSS fileI did not understand what kind of role it has
Head and Headertitle, main div, header, description I've tried my best
Rules of the game a section describing the rules of TicTactoeAdded extra tutorial
Example (Unplayable) Board empty 3x3 TicTacToe board The best Tic Tac Toe board in the world
"O" Wins!There are Xs and OsI've just filled in the blanks. Couldn't figure it out how to create the game itself
+ + + \ No newline at end of file From 9e318565699b616011aecae94598285c25001dcd Mon Sep 17 00:00:00 2001 From: Yavuz Ugurtas Date: Fri, 20 Sep 2019 08:11:47 +0200 Subject: [PATCH 04/16] another update hope last one --- README.md | 10 +++++----- .../1-head-and-header/{index.html => head.html} | 0 .../week-1-project/2-Rules/{index.html => rules.html} | 2 +- .../3-How-to-play/{index.html => how.html} | 2 +- .../4-unplayable-board/{index.html => unplayable.html} | 0 .../5-playable-board/{index.html => playable.html} | 0 homework/week-1-project/README.md | 10 +++++----- 7 files changed, 12 insertions(+), 12 deletions(-) rename homework/week-1-project/1-head-and-header/{index.html => head.html} (100%) rename homework/week-1-project/2-Rules/{index.html => rules.html} (95%) rename homework/week-1-project/3-How-to-play/{index.html => how.html} (90%) rename homework/week-1-project/4-unplayable-board/{index.html => unplayable.html} (100%) rename homework/week-1-project/5-playable-board/{index.html => playable.html} (100%) diff --git a/README.md b/README.md index 79b1100..ec10cfd 100644 --- a/README.md +++ b/README.md @@ -18,27 +18,27 @@ - Blank Page + Blank Page empty HTML template and CSS file I did not understand what kind of role it has - Head and Header + Head and Header title, main div, header, description I've tried my best - Rules of the game + Rules of the game a section describing the rules of TicTactoe Added extra tutorial - Example (Unplayable) Board + Example (Unplayable) Board empty 3x3 TicTacToe board The best Tic Tac Toe board in the world - "O" Wins! + "O" Wins! There are Xs and Os I've just filled in the blanks. Couldn't figure it out how to create the game itself diff --git a/homework/week-1-project/1-head-and-header/index.html b/homework/week-1-project/1-head-and-header/head.html similarity index 100% rename from homework/week-1-project/1-head-and-header/index.html rename to homework/week-1-project/1-head-and-header/head.html diff --git a/homework/week-1-project/2-Rules/index.html b/homework/week-1-project/2-Rules/rules.html similarity index 95% rename from homework/week-1-project/2-Rules/index.html rename to homework/week-1-project/2-Rules/rules.html index fbe03ac..fea3732 100644 --- a/homework/week-1-project/2-Rules/index.html +++ b/homework/week-1-project/2-Rules/rules.html @@ -65,7 +65,7 @@

diff --git a/homework/week-1-project/3-How-to-play/index.html b/homework/week-1-project/3-How-to-play/how.html similarity index 90% rename from homework/week-1-project/3-How-to-play/index.html rename to homework/week-1-project/3-How-to-play/how.html index 8b4031e..e2594be 100644 --- a/homework/week-1-project/3-How-to-play/index.html +++ b/homework/week-1-project/3-How-to-play/how.html @@ -31,7 +31,7 @@

- Home
+ Home

diff --git a/homework/week-1-project/4-unplayable-board/index.html b/homework/week-1-project/4-unplayable-board/unplayable.html similarity index 100% rename from homework/week-1-project/4-unplayable-board/index.html rename to homework/week-1-project/4-unplayable-board/unplayable.html diff --git a/homework/week-1-project/5-playable-board/index.html b/homework/week-1-project/5-playable-board/playable.html similarity index 100% rename from homework/week-1-project/5-playable-board/index.html rename to homework/week-1-project/5-playable-board/playable.html diff --git a/homework/week-1-project/README.md b/homework/week-1-project/README.md index 79b1100..ec10cfd 100644 --- a/homework/week-1-project/README.md +++ b/homework/week-1-project/README.md @@ -18,27 +18,27 @@ - Blank Page + Blank Page empty HTML template and CSS file I did not understand what kind of role it has - Head and Header + Head and Header title, main div, header, description I've tried my best - Rules of the game + Rules of the game a section describing the rules of TicTactoe Added extra tutorial - Example (Unplayable) Board + Example (Unplayable) Board empty 3x3 TicTacToe board The best Tic Tac Toe board in the world - "O" Wins! + "O" Wins! There are Xs and Os I've just filled in the blanks. Couldn't figure it out how to create the game itself From 9a43bec22b3dafecd8e570f0c47754a33de0b8e8 Mon Sep 17 00:00:00 2001 From: Yavuz Ugurtas Date: Fri, 20 Sep 2019 09:03:22 +0200 Subject: [PATCH 05/16] week-1 yavuz Tictactoe assignment --- README.md | 18 ++++++++---------- .../{head.html => index.html} | 0 .../2-Rules/{rules.html => index.html} | 0 .../3-How-to-play/{how.html => index.html} | 0 .../{unplayable.html => index.html} | 0 .../{playable.html => index.html} | 0 homework/week-1-project/README.md | 18 ++++++++---------- 7 files changed, 16 insertions(+), 20 deletions(-) rename homework/week-1-project/1-head-and-header/{head.html => index.html} (100%) rename homework/week-1-project/2-Rules/{rules.html => index.html} (100%) rename homework/week-1-project/3-How-to-play/{how.html => index.html} (100%) rename homework/week-1-project/4-unplayable-board/{unplayable.html => index.html} (100%) rename homework/week-1-project/5-playable-board/{playable.html => index.html} (100%) diff --git a/README.md b/README.md index ec10cfd..69643c8 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,6 @@ ## Week 1 Project - Yavuz Ugurtas - - -

I have tried to build a non-interactive TicTacToe board.

@@ -18,33 +15,34 @@ - Blank Page + Blank Page empty HTML template and CSS file I did not understand what kind of role it has - Head and Header + Head and Header title, main div, header, description I've tried my best - Rules of the game + Rules of the game a section describing the rules of TicTactoe Added extra tutorial - Example (Unplayable) Board + Example (Unplayable) Board empty 3x3 TicTacToe board The best Tic Tac Toe board in the world - "O" Wins! + "O" Wins! There are Xs and Os I've just filled in the blanks. Couldn't figure it out how to create the game itself - - \ No newline at end of file + + + diff --git a/homework/week-1-project/1-head-and-header/head.html b/homework/week-1-project/1-head-and-header/index.html similarity index 100% rename from homework/week-1-project/1-head-and-header/head.html rename to homework/week-1-project/1-head-and-header/index.html diff --git a/homework/week-1-project/2-Rules/rules.html b/homework/week-1-project/2-Rules/index.html similarity index 100% rename from homework/week-1-project/2-Rules/rules.html rename to homework/week-1-project/2-Rules/index.html diff --git a/homework/week-1-project/3-How-to-play/how.html b/homework/week-1-project/3-How-to-play/index.html similarity index 100% rename from homework/week-1-project/3-How-to-play/how.html rename to homework/week-1-project/3-How-to-play/index.html diff --git a/homework/week-1-project/4-unplayable-board/unplayable.html b/homework/week-1-project/4-unplayable-board/index.html similarity index 100% rename from homework/week-1-project/4-unplayable-board/unplayable.html rename to homework/week-1-project/4-unplayable-board/index.html diff --git a/homework/week-1-project/5-playable-board/playable.html b/homework/week-1-project/5-playable-board/index.html similarity index 100% rename from homework/week-1-project/5-playable-board/playable.html rename to homework/week-1-project/5-playable-board/index.html diff --git a/homework/week-1-project/README.md b/homework/week-1-project/README.md index ec10cfd..69643c8 100644 --- a/homework/week-1-project/README.md +++ b/homework/week-1-project/README.md @@ -1,9 +1,6 @@ ## Week 1 Project - Yavuz Ugurtas - - -

I have tried to build a non-interactive TicTacToe board.

@@ -18,33 +15,34 @@ - Blank Page + Blank Page empty HTML template and CSS file I did not understand what kind of role it has - Head and Header + Head and Header title, main div, header, description I've tried my best - Rules of the game + Rules of the game a section describing the rules of TicTactoe Added extra tutorial - Example (Unplayable) Board + Example (Unplayable) Board empty 3x3 TicTacToe board The best Tic Tac Toe board in the world - "O" Wins! + "O" Wins! There are Xs and Os I've just filled in the blanks. Couldn't figure it out how to create the game itself - - \ No newline at end of file + + + From 157a842fc15ffce4a1c35ef1268149305d2f0a4f Mon Sep 17 00:00:00 2001 From: Yavuz Ugurtas Date: Fri, 20 Sep 2019 09:08:10 +0200 Subject: [PATCH 06/16] Week-1 Yavuz Last update --- homework/week-1-project/2-Rules/index.html | 2 +- homework/week-1-project/3-How-to-play/index.html | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/homework/week-1-project/2-Rules/index.html b/homework/week-1-project/2-Rules/index.html index fea3732..4c423b9 100644 --- a/homework/week-1-project/2-Rules/index.html +++ b/homework/week-1-project/2-Rules/index.html @@ -65,7 +65,7 @@

diff --git a/homework/week-1-project/3-How-to-play/index.html b/homework/week-1-project/3-How-to-play/index.html index e2594be..d1bbb0e 100644 --- a/homework/week-1-project/3-How-to-play/index.html +++ b/homework/week-1-project/3-How-to-play/index.html @@ -30,8 +30,7 @@

- - Home
+ Home

From a085026f1111ab5e39906a0545f96e3c732eaee9 Mon Sep 17 00:00:00 2001 From: Yavuz Ugurtas Date: Fri, 20 Sep 2019 09:11:36 +0200 Subject: [PATCH 07/16] week-1 yavuz the last --- homework/week-1-project/4-unplayable-board/index.html | 2 +- homework/week-1-project/5-playable-board/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/homework/week-1-project/4-unplayable-board/index.html b/homework/week-1-project/4-unplayable-board/index.html index 2b39079..6e0049a 100644 --- a/homework/week-1-project/4-unplayable-board/index.html +++ b/homework/week-1-project/4-unplayable-board/index.html @@ -83,7 +83,7 @@

- Rules of the game
+ Rules of the game

diff --git a/homework/week-1-project/5-playable-board/index.html b/homework/week-1-project/5-playable-board/index.html index dcd1a5b..016f2fe 100644 --- a/homework/week-1-project/5-playable-board/index.html +++ b/homework/week-1-project/5-playable-board/index.html @@ -83,7 +83,7 @@

- Rules of the game
+ Rules of the game

From 0fc1349dedf74c9b187c9fb429e60cdff5f583c8 Mon Sep 17 00:00:00 2001 From: Yavuz Ugurtas Date: Fri, 20 Sep 2019 09:17:29 +0200 Subject: [PATCH 08/16] Week-1 Yavuz`s project-1 Last try --- homework/week-1-project/2-Rules/index.html | 8 +++++--- homework/week-1-project/3-How-to-play/index.html | 5 +++-- homework/week-1-project/4-unplayable-board/index.html | 3 ++- homework/week-1-project/5-playable-board/index.html | 3 ++- 4 files changed, 12 insertions(+), 7 deletions(-) diff --git a/homework/week-1-project/2-Rules/index.html b/homework/week-1-project/2-Rules/index.html index 4c423b9..a3e12f1 100644 --- a/homework/week-1-project/2-Rules/index.html +++ b/homework/week-1-project/2-Rules/index.html @@ -65,12 +65,14 @@

+ +
- + diff --git a/homework/week-1-project/3-How-to-play/index.html b/homework/week-1-project/3-How-to-play/index.html index d1bbb0e..f542885 100644 --- a/homework/week-1-project/3-How-to-play/index.html +++ b/homework/week-1-project/3-How-to-play/index.html @@ -30,12 +30,13 @@

+ diff --git a/homework/week-1-project/4-unplayable-board/index.html b/homework/week-1-project/4-unplayable-board/index.html index 6e0049a..6db5941 100644 --- a/homework/week-1-project/4-unplayable-board/index.html +++ b/homework/week-1-project/4-unplayable-board/index.html @@ -90,8 +90,9 @@

- +

+ diff --git a/homework/week-1-project/5-playable-board/index.html b/homework/week-1-project/5-playable-board/index.html index 016f2fe..50bfac4 100644 --- a/homework/week-1-project/5-playable-board/index.html +++ b/homework/week-1-project/5-playable-board/index.html @@ -90,8 +90,9 @@

- +

+ From b94ee71c8a1a647c8706da600e275b6f65b5ca03 Mon Sep 17 00:00:00 2001 From: Yavuz Ugurtas Date: Fri, 20 Sep 2019 09:22:30 +0200 Subject: [PATCH 09/16] Week-1 Yavuz Last --- homework/week-1-project/3-How-to-play/index.html | 2 +- homework/week-1-project/4-unplayable-board/index.html | 2 +- homework/week-1-project/5-playable-board/index.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/homework/week-1-project/3-How-to-play/index.html b/homework/week-1-project/3-How-to-play/index.html index f542885..2033e80 100644 --- a/homework/week-1-project/3-How-to-play/index.html +++ b/homework/week-1-project/3-How-to-play/index.html @@ -30,7 +30,7 @@