Skip to content

Instantly share code, notes, and snippets.

View michaelee's full-sized avatar

Michael Lee michaelee

View GitHub Profile
# team members: Michael Lee & Jane Doe
# picobot rules follow.
a
about
above
after
again
against
all
am
an
and
@michaelee
michaelee / main.dart
Created September 14, 2023 16:55
ensorcelled-sparkle-0927
import 'package:flutter/material.dart';
const Color darkBlue = Color.fromARGB(255, 18, 32, 47);
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
@michaelee
michaelee / main.dart
Created September 27, 2023 18:10
periwinkle-branch-3225
import 'package:collection/collection.dart';
import 'dart:math';
class Dice {
final List<int?> _values;
final List<bool> _held;
Dice(int numDice)
: _values = List<int?>.filled(numDice, null),
@michaelee
michaelee / mp4-test.http
Created November 8, 2023 16:06
Test HTTP calls for MP4 Battleship REST API
@hostname = 165.227.117.48
###
POST http://{{hostname}}/register
Content-type: application/json
{
"username": "michael",
"password": "aaa"