Google's AI summaries are a joke, not even a funny one.

Off topic discussion zone.

Moderators: winston, another_commander, Cody

Post Reply
User avatar
Wildeblood
---- E L I T E ----
---- E L I T E ----
Posts: 2726
Joined: Sat Jun 11, 2011 6:07 am
Location: Nova Hollandia
Contact:

Google's AI summaries are a joke, not even a funny one.

Post by Wildeblood »

My input to Google search box: monarchs of britain reigns list
AI Overview wrote:
Here's a list of British monarchs, along with their reigns, from the 10th century to the present day:
Anglo-Saxon and Danish Period (871-1066):
Alfred the Great: 871-899
Edward the Elder: 899-924
Athelstan: 924-939
Edmund I: 939-946
Aethelred: 979-1016
Edmund II: 1016
Normans and Plantagenets (1066-1485):
William I (the Conqueror): 1066-1087
William II: 1087-1100
Henry I: 1100-1135
Stephen: 1135-1154
Henry II: 1154-1189
Richard I (the Lionheart): 1189-1199
John: 1199-1216
Henry III: 1216-1272
Edward I: 1272-1307
Edward II: 1307-1327
Edward III: 1327-1377
Richard II: 1377-1399
House of Lancaster and York (1399-1485):
Henry IV: 1399-1413
Henry V: 1413-1422
Henry VI: 1422-1461, 1470-1471
Edward IV: 1461-1470, 1471-1483
Edward V: 1483
Oops, something went wrong.
Make pteridomania great again!
User avatar
Wildeblood
---- E L I T E ----
---- E L I T E ----
Posts: 2726
Joined: Sat Jun 11, 2011 6:07 am
Location: Nova Hollandia
Contact:

Flash Card Asteroid Game

Post by Wildeblood »

Code: Select all

// JavaScript for Oolite (ECMAScript 5)

"use strict";

// worldScripts.FlashCardAsteroidGame

this.name = "FlashCardAsteroidGame";

this.NUM_ASTEROIDS = 10;

// Define your flash cards here
this.flashCards = [
    { key: "Queen Anne", definition: "reigned from 1702 to 1714" },
    { key: "King George I", definition: "reigned from 1714 to 1727" },
    { key: "King George II", definition: "reigned from 1727 to 1760" },
    { key: "King George III", definition: "reigned from 1760 to 1820" },
    { key: "King George IV", definition: "reigned from 1820 to 1930" },
    { key: "King William IV", definition: "reigned from 1830 to 1837" },
    { key: "Queen Victoria", definition: "reigned from 1837 to 1901" },
    { key: "King Edward VII", definition: "reigned from 1901 to 1910" },
    { key: "King George IV", definition: "reigned from 1910 to 1936" },
    { key: "King Edward VIII", definition: "reigned during 1936" },
    { key: "King George VI", definition: "reigned from 1936 to 1952" },
    { key: "Elizabeth II", definition: "reigned from 1952 to 2022" },
    { key: "Charles III", definition: "has reigned since 2022" }
];

// Start the game
    this._startFlashCardGame = function () {
        player.consoleMessage("Activating Flash-Card Asteroid Field!");
        this._spawnFlashCardAsteroids();
    };

// Spawn asteroids with flash card names
    this._spawnFlashCardAsteroids = function () {
        var flashsteroids = system.addShips("asteroid", this.NUM_ASTEROIDS, player.ship.position, 10000);
        for (let i = 0; i < flashsteroids.length; i++) {
            this._assignFlashCard(flashsteroids[i]);
        }
    };

// Assign a flash card to an asteroid
    this._assignFlashCard = function (entity) {
        var card = this.flashCards[Math.floor(Math.random() * this.flashCards.length)];
        entity._flashCardKey = card.key;
        entity._flashCardDefinition = card.definition;
        entity.displayName = card.key;
    };

// Optional: Show a message when targeting a flash-card asteroid
    this.shipTargetAcquired = function (target) {
        if (target._flashCardKey) {
            player.consoleMessage("Define: " + target._flashCardKey);
        }
    };

// When asteroid is destroyed, send comms message
    this.shipTargetDestroyed = function (target) {
        if (target._flashCardDefinition) {
            player.commsMessage(target._flashCardKey + ": " + target._flashCardDefinition);
        }
    };
Make pteridomania great again!
Post Reply