Both machines will need a wireless card. It can be done without a router if you don't mind the machine that is connected to the internet having to be on so's the other machine can access the connection (peer to peer).
Galaxy Note 8 vs iPhone X
Awful clip art from 1994 is being tweeted every hour by a bot
iPhone X vs Samsung Galaxy Note 8
Les meilleurs navigateurs internet 2017