index.jade 993 B

1234567891011121314151617181920212223242526
  1. extends layout
  2. block content
  3. h1.knight
  4. h2 Reti Chess
  5. p.margin-fifty.center A lightweight real-time chess app built in Node.js, Express framework and Socket.IO
  6. div#create-game
  7. form(action='')
  8. fieldset
  9. label Minutes per side:
  10. input#minutes(type='number', value='30', min='1', max='50', required)
  11. label(style='padding-left: 2em;') Increment in seconds:
  12. input#seconds(type='number', value='0', min='0', max='50', required)
  13. input#game-link(type='text', readonly, value='Game link will be generated here.')
  14. button.button#play(type='submit') Play
  15. p#waiting Generating game link.
  16. 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.
  17. p.center
  18. a(href='/about', class='alpha') Read more about Reti Chess
  19. block scripts
  20. script(type='text/javascript', src='/js/start.js')