Talk:Pig the dice game: Difference between revisions
Content added Content deleted
(→Move Go?: added comments on how to force a TOC (table of contents).) |
m (added a talk section header so the TOC is shown in the correct place.) |
||
Line 1: | Line 1: | ||
__TOC__ |
|||
== the goal == |
|||
<i>The goal of this task is to create a program to score for and <u>simulate</u> dice throws for a two-person game.</i> |
<i>The goal of this task is to create a program to score for and <u>simulate</u> dice throws for a two-person game.</i> |
||
Line 10: | Line 14: | ||
:: I just took the hard road and supported both (or neither) humans and computer players (for the REXX example), with any number of each (instead of just two). Also supported an option for the number for the win, personalized the players' names, and allowed for an '''N''' sided die. A fair amount of code was used to make to output very readable (as far as whitespace, indentations, and separators. -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 00:13, 26 February 2014 (UTC) |
:: I just took the hard road and supported both (or neither) humans and computer players (for the REXX example), with any number of each (instead of just two). Also supported an option for the number for the win, personalized the players' names, and allowed for an '''N''' sided die. A fair amount of code was used to make to output very readable (as far as whitespace, indentations, and separators. -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 00:13, 26 February 2014 (UTC) |
||
==Move Go?== |
== Move Go? == |
||
Would the Go example be better placed at [[Pig the dice game/Player]]? --[[User:Paddy3118|Paddy3118]] 08:06, 9 November 2012 (UTC) |
Would the Go example be better placed at [[Pig the dice game/Player]]? --[[User:Paddy3118|Paddy3118]] 08:06, 9 November 2012 (UTC) |
||
Line 16: | Line 22: | ||
:Thanks :-)<br>--[[User:Paddy3118|Paddy3118]] 18:50, 9 November 2012 (UTC) |
:Thanks :-)<br>--[[User:Paddy3118|Paddy3118]] 18:50, 9 November 2012 (UTC) |
||
⚫ | |||
== table of contents == |
|||
⚫ | I believe a TOC (table of contents) is automatically built when there are at least four entries (or section headers). There is also a way to force a TOC by using the <big><big> <nowiki> __TOC__ </nowiki> </big></big> HTML tag (or whatever it's called). The before and after characters are two underscores/underbars (<big><big>'''<b>_</b>'''</big></big>). -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 05:25, 26 August 2016 (UTC) |