no more twitter

This commit is contained in:
Max Bradbury 2023-02-07 08:45:23 +00:00
parent cb4d8bd53e
commit c02801e0d5

View File

@ -29,7 +29,7 @@
width: 100vw;
overflow: hidden;
-moz-user-select: none;
-webkit-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}
@ -229,7 +229,7 @@
margin-top: 0;
}
#setup h2,
#setup h2,
#setup label {
margin: 0.4em 0.35em; /* fallback */
margin: 4vmin 3.5vmin;
@ -302,7 +302,7 @@
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffefa7', endColorstr='#feae27',GradientType=0 );
}
button.twitter {
button.mastodon {
background: #51aaea;
background: -moz-linear-gradient(top, #51aaea 0%, #3375a6 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#51aaea), color-stop(100%,#3375a6));
@ -483,7 +483,7 @@
$('#tutorial .gameBoard').html("");
gameBoardWidth = 10;
//determine aspect ratio so as to fit the screen
gameBoardHeight = determineGameBoardHeight();
@ -659,12 +659,12 @@
function refreshMineCounts() {
$('ul:not(.removing) li.revealed:not(.mine, .removing)').each(function() {
var mineCount = $(this).countMinesText();
$(this).text(mineCount);
//remove "mines1" etc
$(this).attr(
'class',
'class',
$(this).attr('class').replace(
/mines[0-9]/, "mines" + mineCount
)
@ -688,7 +688,7 @@
function checkGameOver() {
if (isGameOver()) {
$('#gameOver').show();
var currentHiScore = 0;
if ($.isNumeric(localStorage.getItem("hiscore"))) {
@ -755,7 +755,7 @@
function updateMinesLeft() {
//unflagged mines - revealed mines - flagged not-mines
$('#mines').text(
"Mines left: "
"Mines left: "
+ ($('.mine:not(.flagged)').length
- $('.mine.revealed').length
- $('li:not(.mine).flagged').length)
@ -995,7 +995,7 @@
$(this).addClass("revealed");
} else if (!automated && parseInt($(this).text()) === $(this).getAdjacentTiles().filter('.flagged, .revealed.mine').length) {
//already clicked; use middle click reveal functionality
//number of flags matches number of adjacent mines
$(this).getAdjacentTiles().filter(':not(.flagged, .revealed)').mouseup();
} else {
@ -1137,12 +1137,12 @@
......................................................................
inspired by minesweeper, tetris and 2048
......................................................................
gratz 'n' greetz go out to mum and dad, guy, titas, dan, nick, enrico,
ahona, robin, arielle, isy, thom, tom, olu, lovely dave, jen, ed,
david, andy, rachel, isaac, rory, 'partay' pat, al, ant, zoe, john,
gratz 'n' greetz go out to mum and dad, guy, titas, dan, nick, enrico,
ahona, robin, arielle, isy, thom, tom, olu, lovely dave, jen, ed,
david, andy, rachel, isaac, rory, 'partay' pat, al, ant, zoe, john,
charlie, wilkie, george
......................................................................
HELLO's fly out to some cool game devs: porpentine, merritt kopas,
HELLO's fly out to some cool game devs: porpentine, merritt kopas,
zoe quinn, aniwey, orteil
......................................................................
i listened to a lot of keygenjukebox while coding this