Commit graph

22 commits

Author SHA1 Message Date
dherrada
cab0b2ac69 Added SPDX to 20 more files - spdx-4 2022-02-18 16:51:56 -05:00
Dan Halbert
edc84f0adc restore filenames for rock-paper-scissors 2021-10-19 09:24:46 -04:00
dherrada
1e05b8b1a3 Linted 2021-08-20 16:21:33 -04:00
dherrada
fcfe06df42 PR 10 - Renamed 61 files 2021-08-20 16:14:46 -04:00
a426be25e1 Add 141 skip files
Each skip file has been populated with the pylint errors I actually got locally
when checking the file.
2021-08-11 14:02:31 -05:00
James Carr
92c9abb3cc Remove max_size usage with displayio.Group 2021-07-27 22:56:47 +01:00
Kevin J Walters
ca15fb3f75 Changing the advertisements used by Advanced RPS Game to have manufacturer data declared and set in the desired serialization order.
Changing the id numbers on manufacturer data in the advertisements to use a broadly sequential set.
Removing unused RPS_VERSION. #1185
2020-08-12 18:26:18 +01:00
Kevin J Walters
da9216bde1 Replacing lambda with def per request from code review. #1185 2020-08-11 21:31:49 +01:00
Kevin J Walters
77554db5b8 Slowing down the bubble sort in showGameResultScreen() a little bit more. 2020-08-08 17:52:49 +01:00
Kevin J Walters
a157bbc34e Changing assignments of None to _ to normal del for clean-up - this was due to misunderstanding from REPL behaviour. 2020-08-08 17:52:41 +01:00
Kevin J Walters
81fbdd7a2e Moving points values out to constants.
Squashing some assignments onto one line.
2020-08-08 14:30:08 +01:00
Kevin J Walters
ff6fffe801 Rearranging the text setting for the summary Label on round results screen to set in constructor rather than later via property. This is neater but main motivation is to work around a Label y position bug. 2020-08-07 18:11:23 +01:00
Kevin J Walters
2612984998 Switching to the new match_prefixes for Advertisement matching which replaces prefix.
Changing to matching using the library rather than the match_locally enabled code and a few fixes around that dusty code path.
match_prefixes came up in the review #1185
2020-08-07 00:43:50 +01:00
Kevin J Walters
95acc972bf Removing the C-esque pad removal in strUnpad() and replacing with rstrip based on review.
Note: CP 5.3.0 bytes(xx) always make a new object. #1185
2020-08-06 19:46:16 +01:00
Kevin J Walters
e3dd2d2175 Converting filter() to list comprehension with trailing if filter syntax based on review. #1185 2020-08-06 19:13:46 +01:00
Kevin J Walters
758280b13e Changing evaluateRound() to return value to a form of enumerated value based on const() numbers for WIN, DRAW, LOSE, INVALID.
Maintains the use of booleans on the call to rps_display.showPlayerVPlayer(). #1185
2020-08-06 18:32:30 +01:00
Kevin J Walters
ea82f2bb46 Renaming files to a more specific audio_files.
Removing error_output in SampleJukebox constructor as it is no longer used (exception now lists all missing files).
2020-08-06 17:18:48 +01:00
Kevin J Walters
3806b2f673 pylint vs whitespace 2020-08-04 21:53:15 +01:00
Kevin J Walters
304aa80104 Correcting/improving the error reporting for mulitple missing audio files from SampleJukebox constructor with new SampleJukeboxError exception. 2020-08-04 21:36:13 +01:00
Kevin J Walters
283c980f08 Audio wav files and image bmp file (sprite sheet) for advanced RPS game. 2020-07-23 18:21:55 +01:00
Kevin J Walters
e926eaa343 Cleaning up comments and some docstrings. Dropping debug level from 3 to 1. 2020-07-23 18:12:41 +01:00
Kevin J Walters
6f0473437a New Guide - rock, player, scissors game for CLUE and CPB. 2020-07-22 19:15:11 +01:00