Skip to content

Project skeleton for the Doofinder Code Challenge 2022 (Chess Game)

License

Notifications You must be signed in to change notification settings

javiquiros/chess-template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chess - Doofinder Code Challenge 2022

  • October 18 and 19, 2022 at the Doofinder offices at 63 Cronos Street.
  • Starts the 18th at 12:00 and ends on the 19th at 12:00.
  • The presentation and awards ceremony will be on the 19th at 15:30.

Please, read me

MAKE SURE YOU READ THE ENTIRE DOCUMENT AND PROPERLY UNDERSTAND IT BEFORE START CODING!!!

Challenge Rules

  • Participation in the competition will be individual.
  • It's mandatory that all devs participate except the jury.
  • The jury will be made up of Antonio Gutiérrez, Carlos Escribano, Enrique Martínez and Manuel Dominguez.
  • When the time available to code the application is over, the code will be pushed to the dev's own fork. If the application is not finished, what has been done will be uploaded.
  • Each participant will show the application to the member of the jury he's assigned to for evaluation.

Awards

The prizes will be Amazon gift cards (no more than one prize per project):

  • King Award: €100
  • Queen Award: €50
  • Bishop Award: €50
  • Knight Award: €50

Project requisites

  • Create a web application to play chess with another player in real time (chess rules in Spanish).
  • You must use Phoenix and Phoenix LiveView.
  • There must be a graphical UI to perform chess movements.
  • UI must be updated in real time.
  • UI must display which player won the game, if any.
  • Apart from the board, feel free to add user/game feedback and to decide how to display it.
  • Any other enhancement will be taken into account for the final score.

Scope

The idea is that two players should be able to play a single game. You can make reasonable simplifications, like:

  • Create a game by accessing a random URL like /game/:game_name. Sharing that URL the other player would be able to join the game.
  • The user that creates the game uses the white pieces.

Chess Board

  • There's a pre-defined chess board with styles you can use as a starting point. It looks like the one in the image below.
  • Final HTML is provided, you are responsible of generating the HTML based on your project's data models.

imagen

Time to start coding!

  1. Press the Fork button at the top-right part of the page to create your own copy.

imagen

  1. Fill in the details.
  2. Clone your newly created repo.
  3. Make sure you use at least Elixir 1.12 (asdf!).
  4. Install dependencies.
  5. Think.
  6. Code.
  7. Remember to push your code to your fork!!!

IMPORTANT: No other dependencies than those listed in mix.exs are allowed. Any extra dependency must be approved by the jury.

About

Project skeleton for the Doofinder Code Challenge 2022 (Chess Game)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Elixir 78.4%
  • HTML 11.1%
  • CSS 6.9%
  • JavaScript 3.6%