This puzzle reportedly dates from the 13th century. So some of you older (ahem) Denizens may have encountered it already. Anticipating this possibility, I've added a competitive wrinkle to the mix.
On a 3x3 chessboard you are to place a knight on an unoccupied square and then move it to another unoccupied square using a legal knight's move. If you alternate turns with an opponent, the board eventually fills up to a point where there are not sufficient unoccupied squares for one of the players to complete a turn. The player who has that turn then loses the game. I.e., the last player to successfully complete a turn is the winner.
If first player is A and second player is B, which player wins the game if
1, Players cooperate to maximize the number of turns.
2. Players compete to win the game?
If you wish to describe a sequence of moves in your answer, it may be helpful to number the squares row-wise left to right starting with the top row
1 2 3
4 5 6
7 8 9
A legal move would then be 1 - 6, for example, provided that quares 1 and 6 are unoccupied prior to the move. Square 6 would remain occupied. Assume there are enough knights available to each player.