timstapl / 2022-pilot-puzzle

Advent Of Vue 2022's Pilot Puzzle Starter + Solution

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Advent Of Vue 2022

If you didn't get here from an email, read this section! Skip it otherwise.

Advent Of Vue is a series of 24 Vue coding challenges that are sent out every day from December 1 to December 24 via a dedicated newsletter. If you'd like to receive more of these puzzles in the future, go ahead and sign up!

Problem description

For this challenge, you're tasked with building a local two-player Tic Tac Toe game. Even though you probably know the overall gameplay and rules, I thought I'd give you a quick rundown anyway, just in case you needed it to better visualise or plan out a solution.

In Tic Tac Toe, two players take turns and place their symbols (ie. a circle and a cross) on a board, which consists of three rows with three cells each. The starting order can be decided randomly, it's really up to you. The first person to fill a row, or a column, or a diagonal exclusively with their symbol - wins. If nobody manages to do that, the game ends in a draw.

Author

Maciej Pędzich (Mac):

Credits

Based on a Stackblitz project by tony19

About

Advent Of Vue 2022's Pilot Puzzle Starter + Solution


Languages

Language:JavaScript 44.6%Language:HTML 43.8%Language:Vue 8.1%Language:CSS 3.6%