? Code Golf (Page 1) ● SmileBASIC Source Forums

Sign In

Register
*Usernames are case-sensitive
Forgot my password

Code Golf

  • #1 ✎ 1363 12Me21 Admin Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself Second Year My account is over 2 years old Website Challenge: Write the shortest program that prints the following text: 1. Preheat the oven to 7 GRAND DAD degrees Celsius 2. add sand 3. it should also take 3 minutes to log in to youtube 4. Build up speed for 100 steps 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. 31. 32. 33. 34. 35. 36. 37. 38. 39. 40. 41. 42. 43. 44. 45. 46. 47. 48. 49. 50. 51. 52. 53. 54. 55. 56. 57. 58. 59. 60. 61. 62. 63. 64. 65. 66. 67. 68. 69. 70. 71. 72. 73. 74. 75. 76. 77. 78. 79. 80. 81. 82. 83. 84. 85. 86. 87. 88. 89. 90. 91. 92. 93. 94. 95. 96. 97. 98. 99. 100. 101. 102. 103. 104. 105. remove Omiwa from freezer 106. let thaw for 398 frames 107. serves 10 It must pause after each step is displayed and wait for a button/key press before printing the next step. OH and before you make some lazy program using PRINT, I must remind you... "3. it should also take 3 minutes to log in to youtube" is more than 50 characters long. Line breaks in the middle of a step are NOT ALLOWED. So use GPUTCHR or something (and text going off the screen is not allowed either) have fun Additional Pointless Restrictions:1: the character "W" or "w" may not be used in your code 2: Each line must have a length that is a prime number, or a perfect square, but not both 3: Each "A" press counts as 3 bytes, because an A press actually has 3 parts to it Posted Edited by 12Me21
  • #2 ✎ 816 snail_ Power User Helper Received for being very helpful around SmileBASIC Source Achievements Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength Avatar Taboo I didn't change my avatar for 180 days Website
    Line breaks in the middle of a step are NOT ALLOWED. So use GPUTCHR or something
    If the quote won't fit all on one line, preventing linebreaks means the quote won't fit on screen. This is a pointless restriction.
    Posted
  • #3 ✎ 1363 12Me21 Admin Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself Second Year My account is over 2 years old Website
    Line breaks in the middle of a step are NOT ALLOWED. So use GPUTCHR or something
    If the quote won't fit all on one line, preventing linebreaks means the quote won't fit on screen. This is a pointless restriction.
    ah, I have to disallow that as well I meant to use GPUTCHR to print characters at 6 pixel intervals to make text take up less space
    Posted
  • #4 ✎ 43 seggiepants I ignored the line length, and line break restrictions, sorry. Didn't understand the press A part, but here is my entry. Posted Edited by randomous