about.js 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. var h = require('cyclejs').h;
  2. module.exports = function() {
  3. return (
  4. h("div", [
  5. h("div.jumbotron", [
  6. h("h1", [ "Game n' Chat" ]),
  7. h("p", [
  8. "Play games in a chatroom like it's the 2000s! Bringing IRC gaming to ",
  9. "Web 2.0!"
  10. ])
  11. ]),
  12. h("div.row", [
  13. h("div.col-md-8", [
  14. h("h2", [ "Taboo" ]),
  15. h("p", [
  16. "Taboo is a party game for around 4 to 10 people split into 2 teams. Each ",
  17. "round, a player from a team becomes the ", h("em", [ "giver" ]), " and the rest of the ",
  18. "team become ", h("em", [ "guessers" ]), ". The opposing team act as ", h("em", [ "monitors" ]), "."
  19. ]),
  20. h("p", [
  21. "The ", h("em", [ "giver" ]), " is given a card containing a word and 5 taboo words. The ",
  22. "giver must somehow tell the ", h("em", [ "guessers" ]), " about the word without mentioning ",
  23. "the word itself or any of the 5 taboo words. The ", h("em", [ "monitors" ]), " act as ",
  24. "judges to see if any of the words said are not allowed."
  25. ]),
  26. h("p", [
  27. "If a guesser gets the word right, the team earns a point. If the giver says ",
  28. "any taboo word, the team loses a point. The giver may also choose to pass ",
  29. "and the team also loses a point. The giver is then given another card and ",
  30. "this continues until the round time runs out."
  31. ]),
  32. h("h3", [ "Additional notes" ]),
  33. h("p", [
  34. "When there are enough players, the giver is announced and he can start the ",
  35. "game by pressing the Start button. Normally, taboo rounds are 1 minute long, ",
  36. "but we extend it to 2 minutes because of the time it takes to type things."
  37. ]),
  38. h("p", [
  39. "The system can rudimentarily act as a monitor itself. If the giver types out ",
  40. "any of the taboo words verbatim, the system immediately calls taboo on those. ",
  41. "It can also check if the word was guessed correctly assuming it was spelled ",
  42. "correctly. For all other cases, we will rely on the monitors and the giver ",
  43. "to act in good faith."
  44. ]),
  45. h("p", [
  46. "To facilitate faster playing, there are some command you can just type in:"
  47. ]),
  48. h("ul", [
  49. h("li", [ h("code", [ "/s" ]), " - Start the round" ]),
  50. h("li", [ h("code", [ "/p" ]), " - Pass" ]),
  51. h("li", [ h("code", [ "/c" ]), " - Correct (someone got the word)" ]),
  52. h("li", [ h("code", [ "/t" ]), " - Taboo" ])
  53. ])
  54. ]),
  55. h("div#main.col-md-4.sidebar", [
  56. h("h2", [ "What is this?" ]),
  57. h("p", [
  58. "Hi! This is just a side project I made where you can play Taboo online. ",
  59. "I liked playing it with my friends during our Christmas party and I wanted ",
  60. "to play a bit more."
  61. ]),
  62. h("p", [
  63. "Feature-wise, it's a bit sparse. There's no score tracking beyond a single ",
  64. "round, but it should at least have the core game mechanics ok. UI/UX could ",
  65. "also use a lot of work. I'm also leaving the prospect of adding more games ",
  66. "open. Like maybe Pinoy Henyo or whatever."
  67. ]),
  68. h("p", [
  69. "Also, while the website is responsive now, you still can't play on mobile ",
  70. "because I don't know how to layout the game such that it works."
  71. ]),
  72. h("p", [
  73. "There aren't that many words yet, and I'd greatly appreciate contributing ",
  74. "some for the game. There's also an API for accessing the word list in case ",
  75. "you want to build your own Taboo-like thing. ", h("code", [ "GET /cards" ]), " should ",
  76. "give you the entire card list, while ", h("code", [ "GET /cards/random" ]), " will ",
  77. "give you a random card each time."
  78. ]),
  79. h("p", [
  80. "Obligatory note, I do not own the rights to the Taboo board game. The card ",
  81. "data was made by me and any contributors. I did not use any of the Taboo cards ",
  82. "as a source for them."
  83. ])
  84. ])
  85. ])
  86. ])
  87. );
  88. }