Implement requirement 3: AI with random action