index.jade 1003 B

123456789101112131415161718192021222324
  1. extends layout
  2. block content
  3. script(type='text/javascript', src='/javascripts/start.js')
  4. h1.knight
  5. h2 Reti Chess
  6. p.margin-fifty.center A lightweight real-time chess app built in Node.js, Express framework and Socket.IO
  7. div#form
  8. form#create_form(action='')
  9. fieldset
  10. label Minutes per side:
  11. input#minutes(type='number', value='30', min='1', max='50', required)
  12. label(style='padding-left: 2em;') Increment in seconds:
  13. input#seconds(type='number', value='0', min='0', max='50', required)
  14. input#game_link.game_link(type='text', readonly, value='Game link will be generated here.')
  15. button.button#play(type='submit') Play
  16. p#waiting Generating game link.
  17. p.center Click the button play to create a game. Send the link to your friend. Once the link is opened in your friend's browser, game should begin shortly. Colours are picked randomly by computer.
  18. p.center
  19. a(href='/about', class='alpha') Read more about Reti Chess