Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
9 changes: 1 addition & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,2 @@
# Skill-It

Skill It session

## School of Accelerated Learning

[SOAL Website](https://www.schoolofacceleratedlearning.com/)

Think you can pass the Firewall test - [Firewall](https://firewall.soal.io/firewall/signup/)?
![flow-graph](image/final.png)
Binary file added image/final.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 4 additions & 2 deletions js/tic-tac-toe.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// TIC TAC TOE
git // TIC TAC TOE

const tic_tac_toe = {

Expand Down Expand Up @@ -104,6 +104,8 @@ const tic_tac_toe = {
},

draw() {
this.container_element.innerHTML = this.board.map((element, index) => `<div onclick="tic_tac_toe.make_play('${index}')"> ${element}</div>`).reduce((content, current) => content + current);
this.container_element.innerHTML = this.board.map(
(element, index) => `<div onclick="tic_tac_toe.make_play('${index}')"> ${element}</div>`)
.reduce((content, current) => content + current);
},
};